Errors when connecting to SMB shares from Windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Errors when connecting to SMB shares from Windows
# 1  
Old 02-15-2010
Error Errors when connecting to SMB shares from Windows

Hi all

I have a server running Oracle Linux. When i try \\linux-server\share I get prompted for username & password or I get a permission denied error.

I see these errors in the messages file on the Linux server:

Code:
smbd[17778]: [2010/02/15 10:39:13, 0] auth/auth_util.c:create_builtin_administrators(792)
Feb 15 10:39:13 s-fcrac1 smbd[17778]:   create_builtin_administrators: Failed to create Administrators
Feb 15 10:39:13 s-fcrac1 winbindd[17499]: [2010/02/15 10:39:13, 0] nsswitch/idmap.c:idmap_alloc_init(820)
Feb 15 10:39:13 s-fcrac1 winbindd[17499]:   ERROR: Initialization failed for alloc backend, deferred!
Feb 15 10:39:13 s-fcrac1 smbd[17778]: [2010/02/15 10:39:13, 0] auth/auth_util.c:create_builtin_users(758)
Feb 15 10:39:13 s-fcrac1 smbd[17778]:   create_builtin_users: Failed to create Users
Feb 15 10:39:15 s-fcrac1 winbindd[17499]: [2010/02/15 10:39:15, 0] nsswitch/idmap.c:idmap_alloc_init(820)
Feb 15 10:39:15 s-fcrac1 winbindd[17499]:   ERROR: Initialization failed for alloc backend, deferred!
Feb 15 10:39:15 s-fcrac1 smbd[17783]: [2010/02/15 10:39:15, 0] auth/auth_util.c:create_builtin_administrators(792)
Feb 15 10:39:15 s-fcrac1 smbd[17783]:   create_builtin_administrators: Failed to create Administrators
Feb 15 10:39:15 s-fcrac1 winbindd[17499]: [2010/02/15 10:39:15, 0] nsswitch/idmap.c:idmap_alloc_init(820)
Feb 15 10:39:15 s-fcrac1 winbindd[17499]:   ERROR: Initialization failed for alloc backend, deferred!
Feb 15 10:39:15 s-fcrac1 smbd[17783]: [2010/02/15 10:39:15, 0] auth/auth_util.c:create_builtin_users(758)
Feb 15 10:39:15 s-fcrac1 smbd[17783]:   create_builtin_users: Failed to create Users
Feb 15 10:39:15 s-fcrac1 winbindd[17499]: [2010/02/15 10:39:15, 0] nsswitch/idmap.c:idmap_alloc_init(820)
Feb 15 10:39:15 s-fcrac1 winbindd[17499]:   ERROR: Initialization failed for alloc backend, deferred!
Feb 15 10:39:15 s-fcrac1 smbd[17783]: [2010/02/15 10:39:15, 0] auth/auth_util.c:create_builtin_administrators(792)
Feb 15 10:39:15 s-fcrac1 smbd[17783]:   create_builtin_administrators: Failed to create Administrators
Feb 15 10:39:15 s-fcrac1 winbindd[17499]: [2010/02/15 10:39:15, 0] nsswitch/idmap.c:idmap_alloc_init(820)
Feb 15 10:39:15 s-fcrac1 winbindd[17499]:   ERROR: Initialization failed for alloc backend, deferred!
Feb 15 10:39:15 s-fcrac1 smbd[17783]: [2010/02/15 10:39:15, 0] auth/auth_util.c:create_builtin_users(758)
Feb 15 10:39:15 s-fcrac1 smbd[17783]:   create_builtin_users: Failed to create Users

Here is my smb.conf file:

Code:
# Global parameters
[global]
        workgroup = NT domain
        server string = oracle_linux
        log file = /var/log/samba/%m.log
        security = DOMAIN
        encrypt passwords = yes
        password server = 192.168.0.xxx  #(DC)
        max log size = 50
        add user script = /usr/sbin/useradd -d /home/%u -m %u
        wins server = 192.168.0.xxx
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = no
        domain master = no
        preferred master = no

[SHARE1]
        comment = Test
        path = share path
        valid users = my account
        writable = yes

 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Samba 3.6 on AIX 7.1 - Windows 10 Access to AIX file shares using Active Directory authentication

I am running AIX 7.1 and currently we have samba 3.6.25 installed on the server. As it stands some AIX folders are shared that can be accessed by certain Windows users. The problem is that since Windows 10 the guest feature no longer works so users have to manually type in their Windows login/pwd... (14 Replies)
Discussion started by: linuxsnake
14 Replies

2. Shell Programming and Scripting

[Perl] Module for recursive listing of remote Windows shares

Hi, I'm looking for a Perl module which can recursively list remote Windows shares from within a Linux machine. I've tried Filesys::SmbClient ans Filesys:SmbClientPars but they just list the current directory Thank You for your help (4 Replies)
Discussion started by: Fundix
4 Replies

3. AIX

Use SMB/CIFS signing when mounting Win shares

Hi, We have a number of Windows Server 2003 shares mounted on our AIX server via CIFS, using a command similar to this: mkcifsmnt -f /test -d testshare -h testserver -c testuser -p pass -w DOMAIN The windows servers are currently being upgraded to 2012, and as part of this they are setting... (0 Replies)
Discussion started by: AndyG
0 Replies

4. AIX

CIFS/SMB mount NetApp (Windows) fileshare

Hi guys, I'm trying to mount a windows share (hosted on a NetApp filer with clustered Ontap 8.3) and I have no luck doing it. This worked before when we used an old NetApp with Ontap 7.3. Seems there is an issue with ASCII/non-unicode support. I'm wondering if anybody here has mounted... (7 Replies)
Discussion started by: mikedavis
7 Replies

5. Solaris

SMB + Windows sharing

Hi guys I need to create one directory on my Solaris 11 box and then share that directory on my LAN. I have only one disk of 500 GB which is more than enough for my needs. I read SMB guide for Solaris and there is no guide how to achive share only on one directory, it has only tutorials for... (3 Replies)
Discussion started by: solaris_user
3 Replies

6. Shell Programming and Scripting

Connecting to Windows Server

Hi, One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine. For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies

7. Shell Programming and Scripting

Showing errors when connecting to sqlplus in shell script

hi, I am trying to automate the compilation of procedures stored in .sql files in Unix. Is there any way in which we can sho err if there errors are raised in the compilation? I am using the following code to connect to the sqlplus sqlplus ${SQL_USER}/${SQL_PASSWORD} (5 Replies)
Discussion started by: silas.john
5 Replies

8. IP Networking

connecting to Unix from windows - help

Hello, I have a requirement like - I need to connect to specific Unix machine.That machine authenticates the user who is logging in. I am accessing from XP machine. Is possible to supply the Username & Password along with Host name and port, from Windows command prompt? If so how? (13 Replies)
Discussion started by: cassiel
13 Replies

9. IP Networking

Connecting SGI to Windows PC

I am trying to network an SGI running Irix 6.5 through an ethernet line to a PC running Windows 2000 (I have connected other PC's to this PC without any problems.) The PC has a DSL connection from Verizon that does not support Unix. I tried using DHCP on the SGI, but when I open a web browser on... (2 Replies)
Discussion started by: mdbanas
2 Replies

10. IP Networking

Mounting shares from a Windows PC

Hi... I can ping my Windows PC using both the IP address and NetBios name and I can ping my Linux box the same, IP address and NetBios name. I can even use smbclient to see the shares on my Windows PC. But I can't map the shares so that Linux sees it as a drive. How do I do that? (5 Replies)
Discussion started by: SeCBerm
5 Replies
Login or Register to Ask a Question