Problems setting up a samba server
I've been working on setting this up for over a week now. I've made progress but seem to be stuck at a weird point.
Basically I'm trying to set up my rh 9.0 box as a samba server. I initially started with the directions from http://www-106.ibm.com/developerwork...torials/samba/ but I've tried O'Reilly's book and google to now avail. Here's the deal. We have a number of xp/2000/nt machines that are currently on an nt domain. I want to move them (about 20 or so users) over to a samba domain. My current samba config file is as follows: [global] wins support = yes netbios name = UBERBEAST domain logons = yes encrypt passwords = yes workgroup = UBERBEAST os level = 255 preferred master = yes local master = yes domain master = yes security = user logon path = \\%L\profiles\%u\%m logon script = logon.bat logon drive = H: logon home = \\%L\%u\.win_profile\%m time server = yes domain admin group = @admins add user script = /usr/sbin/useradd -d /dev/null -g machines -s /bin/false -M %u log file = /var/log/samba/log.%m log level = 3 [netlogon] path = /home/netlogon writable = no browsable = no [profiles] path=/home/samba browsable = no writable = yes create mask = 0600 directory mask = 0700 [homes] read only = no browseable = no guest ok = no map archive = yes comment = %u's Home Directory writeable = yes The bottom line is, with my xp machine I'm able to switch over to the uberbeast domain. It even says, "Welcome to domain UBERBEAST". However, when I'm prompted to reboot (and I do it) upon rebooting I'm immediately greeted with "A duplicate name exists on the network" error. If I try and log into the samba domain anyway, I get "The system cannot log you on now because the domain UBERBEAST is not available". This error message does not generate any corresponding error in the samba log files. I haven't seen anybody who's problem is exactly like mine. Any ideas as to what I should do would be greatly appreciated. |
Very stupid question: What's the name of the XP box? And does it conflict with any other name on your network(s)? Regardless of whether there's another machine on the network with the same name, have you tried using another name for the XP box (if only as a test)?
|
I had a same problem,Please give a hint for that,i am also
trying here. Thanks senthil:study: |
Okay, I got my problem solved. First, I finally found an error message in the logs stating that the samba password file was corrupted. How that happened is beyond me. Secondly, it doesn't appear that the add user script command is working for me. Finally (on someone's suggestion in another forum) I changed the workgroup name to something other than the host name. Those three things did the trick. I still have other issues (which I'll post in a new thread), but at least I got past this one.
|
All times are GMT -5. The time now is 07:13 AM. |