Richard Pickett
2005-Jan-13 08:57 UTC
[Samba] upgrading (?) from 2.2.4 to 3.0.8pre1-0.pre1.3
Very simple setup. We have a NT4 pdc and some windows boxes. We have a large raid running on linux that we use samba to share to the rest of the network. 2.2.4 works great, 3.0 doesn't using the same smb.conf. I'm sure there are some things that have changed but even trying to take the examples on the site and mod them to fit my case doesn't work either. The linux/samba box name is delta1, just browsing to \\delta1 gives me the name/pass prompt. Before entering my name/pass I go check the samba log file for the machine I am browsing from and It has: [2005/01/13 02:41:48, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! [2005/01/13 02:41:48, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! [2005/01/13 02:41:48, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! [2005/01/13 02:41:48, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! I then type \\domain\name and password, click OK and it adds this to the log file (as well as asks for name/pass again): [2005/01/13 02:42:07, 0] auth/auth_util.c:make_server_info_info3(1122) make_server_info_info3: pdb_init_sam failed! Those same lines appear in /var/log/messages. Other than that I'm not seeing any logs that get touched. The raid server was added to the domain with `net rpc join -U name%pass`, and I've verified on the pdc that the machine is added. Both smb and nmb are running, winbind is not (I haven't seen any doc saying I needed it and it wasn't used with the 2.2.4 samba). Here's `cat smb.conf | grep -v ^# | grep -v ^\; | grep -v ^$`: [global] workgroup = NT_LABS server string = Delta1 Linux hosts allow = 192.168.1. 127. load printers = yes log file = /var/log/samba.%m max log size = 50 security = server password server = BRAVO 192.168.1.2 socket options = TCP_NODELAY local master = no dns proxy = no [homes] comment = Home Directories browseable = no writable = yes [printers] [public] path = /raid/pub public = yes only guest = yes writable = yes printable = no Eventually (maybe sooner now) I was planning on dumping the windows pdc and replacing it with a linux one. All I would need to ensure is that all the old user logins would still work under the new linux/samba pdc. If that's easier to do (and share this folder) all at the same time, I'd rather just do that. Any insight is greatly appreciated.
Richard Pickett
2005-Jan-13 17:09 UTC
[Samba] upgrading (?) from 2.2.4 to 3.0.8pre1-0.pre1.3
OK, I got it working. I'm posting this for the archive. I followed the "Domain Member Server" example in chapter 2: http://samba.org/samba/docs/man/Samba-HOWTO-Collection/FastStart.html#id 2511401 And modified it to meet my situation. I still got the same login prompt when trying to browse that computer from a XP station but this time I noticed NT_STATUS_NO_TRUST_SAM_ACCOUNT as the error in the logs. Doing a search on that I found this little jewel: http://lists.samba.org/archive/samba/2002-June/046192.html The Domain Member Server example didn't have a "domain logons" setting, so I added the line "domain logons = no" and restarted smb. Bingo! Works like a charm now. Hope this helps the next guy.