RE: Unable To Connect To SAMBA Shares
"Atkinson, Robert" <[email protected]> Tue, 24 Feb 2009 13:39:51 -0000
| Newsgroups | gmane.network.samba.vms |
|---|---|
| Message-ID | <C2C319C4C1CC7D46B2D7815BE3A2753E083DC0A5@coxsrv-3.uk.randomhouse.com> |
Paul, tried your suggestions but they didn't work. However, I noticed = that whatever username I tried, it always mapped onto SYSTEM (locally logged = in account). Then, I remembered the problem with USERNAME.MAP needing to be STREAM. = Once I fixed that, everything was fine. Cheers for the help, Rob. -----Original Message----- From: Nunez, Paul [mailto:[email protected]]=20 Sent: 24 February 2009 13:05 To: Atkinson, Robert; [email protected] Cc: Cascarino, Mark; Hebron, Martin Subject: RE: Unable To Connect To SAMBA Shares 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 = need one. Otherwise, you can only connect as Guest (but that would require = some 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 = adding 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. Sometimes 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 = mapping from a Windows client, then the security policies on the Windows client = 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:[email protected]] On Behalf = Of Atkinson, Robert 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 necessarily 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 = person responsible for delivering to the intended recipient, be advised that = you 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