RE: Unable To Connect To SAMBA Shares
"Nunez, Paul" <[email protected]> Tue, 24 Feb 2009 13:04:36 +0000
| Newsgroups | gmane.network.samba.vms |
|---|---|
| Message-ID | <31E812B87DC4654CAFDE967F875DB59A1EB8F56C2D@GVW0538EXC.americas.hpqcorp.net> |
Hi Robert, You didn't provide enough info. What user are you attempting to connect as= ? Does that domain user account have an OpenVMS account - if not, it'll ne= ed one. Otherwise, you can only connect as Guest (but that would require s= ome smb.conf changes). =20 Every user who needs to connect to the CIFS server needs an OpenVMS account= . You can either create one yourself, let WINBIND do it "on-the-fly" by ad= ding the "idmap uid" and "idmap gid" parameters with valid range values in = smb.conf, or use the "add user script" (smb.conf parameter) functionality. To further troubleshoot, add "log level =3D 10" to smb.conf, duplicate the = problem, and then check the client log in samba$root:[var] for errors. Som= etimes it's easy to find them by doing: $ search/page <log-file> nt_status, fail, error Another thing to try - map the drive from the server itself using smbclient= . If that works, but you still get prompted for username/password when map= ping from a Windows client, then the security policies on the Windows clien= t may be a factor: $ smbclient \\<servername\robs --user <domain-user-name> Password: If you get to a smb>\ prompt, it worked. Otherwise, hit your up arrow, and= add to the command -d10 to get debug level 10 messages... HTH, Paul -----Original Message----- From: [email protected] [mailto:samba-v= [email protected]] On Behalf Of Atkinson, Robe= rt Sent: Tuesday, February 24, 2009 6:05 AM To: [email protected] Cc: Cascarino, Mark; Hebron, Martin Subject: Unable To Connect To SAMBA Shares I've installed SAMBA 1.1 and configured the same as our test server (which works fine).=20 When I try to connect to the share, I just keep getting prompted for a username and password. I've tried various combinations, but no joy. I'm happy the server is a member of the domain :- BETA_ROB$$$ net rpc join --user=3Dcoadmin --server=3Dcodc-1 Password: Joined domain UK. BETA_ROB$$$ All the log file says is :- [2009/02/24 10:56:39, 1] SAMBA$SRC:[SOURCE.NSSWITCH]IDMAP_TDB.C;1:(397) idmap uid range missing or invalid idmap will be unable to map foreign SIDs [2009/02/24 10:56:39, 0] SAMBA$SRC:[SOURCE.NSSWITCH]IDMAP.C;1:(749) ERROR: Initialization failed for alloc backend, deferred! Config is :- [global] workgroup =3D UK server string =3D Samba %v running on %h (OpenVMS) security =3D DOMAIN username map =3D /samba$root/lib/username.map log file =3D /samba$root/var/log_%h.%m load printers =3D No os level =3D 65 preferred master =3D No domain master =3D No admin users =3D cifsadmin create mask =3D 0755 [homes] comment =3D Home Directories read only =3D No create mask =3D 0750 browseable =3D No vms ods5 volume =3D No [robs] comment =3D Test Directory path =3D ops$data:[robert] read only =3D No create mask =3D 0750 vms ods5 volume =3D No Any ideas? Rob. ***************************************************************************= ******** Any opinions expressed in email are those of the individual and not necessa= rily those of the company. This email and any files transmitted with it are= confidential and solely for the use of the intended recipient=20 or entity to whom they are addressed. It may contain material protected by = attorney-client privilege. If you are not the intended recipient, or a pers= on responsible for delivering to the intended recipient, be advised that yo= u have received this email in error and that any use is strictly prohibited= . Random House Group + 44 (0) 20 7840 8400 http://www.randomhouse.co.uk http://www.booksattransworld.co.uk=20 http://www.kidsatrandomhouse.co.uk Generic email address - [email protected] Name & Registered Office: THE RANDOM HOUSE GROUP LIMITED 20 VAUXHALL BRIDGE ROAD LONDON SW1V 2SA Random House Group Ltd is registered in the United Kingdom with company No.= 00954009, VAT number 102838980 ***************************************************************************= ******** PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING: http://www.catb.org/~esr/faqs/smart-questions.html