Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: WEBlance on December 11, 2004, 06:46:56 PM
-
Hi,
I use my SME 6.0.1 as a network drive for my documents. My user PC is a WinXP SP2 and I'm connected to my documents ibay as a network drive. I've set ip up to logon automatically, but when I reboot or logoff/logon my user account I have to logon again and type my password.
How can I get it to logon automatically every time I logon my WinXP user account?
-
Do you mean you want XP to logon automatically or connecting to your network drive after you've logged on?
If you want XP to logon automatically you can edit the registry (warning - do this at your own risk)
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"DefaultUserName"="<your username>"
"DefaultPassword"="<your Password>"
"DefaultDomainName"="<your domain name if you use domains, if not then ignore>"
"AutoAdminLogon"="1"
If you want a network drive mapping you can set the drive to login using credentials from your SME box and the persistently save the settings.
Just type net use /?
at a command prompt and read the syntax
-
Sorry this didn't fix the problem.
I want XP to logon the network drive automatcally so I don't have to type my password in before I can access the files and use the printer connected to the SME
-
What's your setup like then?
I take it you aren't running SME as a domain but in a workgroup?
Have you tried selecting the reconnect at logon when you're mapping a drive and using the corrct credentials by entering them in the 'connect using a different name'
-
Sorry this didn't fix the problem.
I want XP to logon the network drive automatcally so I don't have to type my password in before I can access the files and use the printer connected to the SME
The only time I have seen this problem is when the Win user-name/password are different for the SME user-name/password.
Are you logging in to your Win machine with the same user-name/password as your SME user account?
-
Here are the template fragments you should copy & edit to allow no username/no password access to your SME server for your LAN.
11guestOK (should be "yes")
11mapToGuest (should be "bad user")
10globals (add "null passwords = yes")
50printers (change to "guest ok = yes")
/sbin/e-smith/expand-template /etc/smb.conf
service smb restart
-
have you tried this
net use x: \\"servers ip"\"ibay name" "password" /user:"username"
Put the above text into a txt editor and save it as .bat file and make a link to the bat file in your "start" folder under "Programs" menu.
-
Anyone point you to the server-manager contrib for editing the netlogon.bat file to automagically map drives and printers during logon? There's a server manager add-on that facilitates it here:
http://www.ibiblio.org/pub/linux/distributions/e-smith/contrib/DanielvanRaay/RPMS/noarch/e-smith-loginscript-0.2-2.noarch.rpm
You have to add a sym link to make it work in SME ver. 6 and higher because of a change in the location of the netlogon.bat file:
ln -s /home/e-smith/files/samba/netlogon /home/netlogon
It supports conditional statements based on user, machine, group and windows version. I have it working on SME 6.01 (heavily modified, your milage may vary).