[Samba] Setting up a guest share

Erik Bloodaxe E.Bloodaxe at gold.ac.uk
Tue Feb 1 09:56:44 MST 2011


Can anyone assist with the following problem

I am trying to set up a share on a domain controlled by SAMBA that 
anyone can access, particularly if they are not part of the domain the 
machine Samba is running on is joined to or are in another domain.  I 
cannot access this share from a Windows 2008 R2 DC.  The samba share is 
as follows.

> [adreg]
>         comment = registration files
>         path=/test
>         browsable=no
>         public=no
>         writable=yes
>         create mask = 700
>         force create mode = 500
>         force group=rs
>         force user=rs
>         hosts allow = walthamstow.gold.ac.uk.
>         guest ok = yes
Machines that are part of the domain can attach to this and add and 
delete files as you would expect.

But machines that are not part of the domain cannot access this here are 
the logs from one attempt:

>   making strings for Administrator's user_info struct
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(117)
>   making blobs for Administrator's user_info struct
> [2011/01/31 16:36:58, 3] auth/auth.c:(221)
>   check_ntlm_password:  Checking password for unmapped user 
> [SepperateDomain]\[Administrator]@[SOUTHEND] with the new password 
> interface
> [2011/01/31 16:36:58, 3] auth/auth.c:(224)
>   check_ntlm_password:  mapped user is: 
> [OURDOMAIN]\[Administrator]@[SOUTHEND]
> [2011/01/31 16:36:58, 0] auth/auth_domain.c:(260)
>   domain_client_validate: unable to validate password for user 
> Administrator in domain SepperateDomain to Domain controller ARIES. Error
>  was NT_STATUS_NO_SUCH_USER.
> [2011/01/31 16:36:58, 5] auth/auth.c:(273)
>   check_ntlm_password: winbind authentication for user [Administrator] 
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 2] auth/auth.c:(319)
>   check_ntlm_password:  Authentication for user [Administrator] -> 
> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(2108)
>   attempting to free (and zero) a user_info structure
> [2011/01/31 16:36:58, 5] auth/auth.c:(473)
>   Making default auth method list for security=domain
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match guest
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method guest has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match sam
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method sam has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match 
> winbind:ntdomain
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match ntdomain
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method ntdomain has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method winbind has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module guest did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module sam did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module winbind did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(137)
>   auth_context challenge created by random
> [2011/01/31 16:36:58, 5] auth/auth.c:(138)
>   challenge is:
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(161)
>   make_user_info_map: Mapping user [SepperateDomain]\[Administrator] 
> from workstation [SOUTHEND]
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(75)
>   attempting to make a user_info for Administrator (Administrator)
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(85)
>   making strings for Administrator's user_info struct
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(117)
>   making blobs for Administrator's user_info struct
> [2011/01/31 16:36:58, 3] auth/auth.c:(221)
>   check_ntlm_password:  Checking password for unmapped user 
> [SepperateDomain]\[Administrator]@[SOUTHEND] with the new password 
> interface
> [2011/01/31 16:36:58, 3] auth/auth.c:(224)
>   check_ntlm_password:  mapped user is: 
> [OURDOMAIN]\[Administrator]@[SOUTHEND]
> [2011/01/31 16:36:58, 0] auth/auth_domain.c:(260)
>   domain_client_validate: unable to validate password for user 
> Administrator in domain SepperateDomain to Domain controller ARIES. Error
>  was NT_STATUS_NO_SUCH_USER.
> [2011/01/31 16:36:58, 5] auth/auth.c:(273)
>   check_ntlm_password: winbind authentication for user [Administrator] 
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 2] auth/auth.c:(319)
>   check_ntlm_password:  Authentication for user [Administrator] -> 
> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(2108)
>   attempting to free (and zero) a user_info structure
> [2011/01/31 16:36:58, 5] auth/auth.c:(473)
>   Making default auth method list for security=domain
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match guest
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method guest has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match sam
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method sam has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match 
> winbind:ntdomain
> [2011/01/31 16:36:58, 5] auth/auth.c:(391)
>   load_auth_module: Attempting to find an auth method to match ntdomain
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method ntdomain has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(416)
>   load_auth_module: auth method winbind has a valid init
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module guest did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module sam did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(97)
>   auth_get_challenge: module winbind did not want to specify a challenge
> [2011/01/31 16:36:58, 5] auth/auth.c:(137)
>   auth_context challenge created by random
> [2011/01/31 16:36:58, 5] auth/auth.c:(138)
>   challenge is:
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(161)
>   make_user_info_map: Mapping user [SepperateDomain]\[Administrator] 
> from workstation [SOUTHEND]
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(75)
>   attempting to make a user_info for Administrator (Administrator)
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(85)
>   making strings for Administrator's user_info struct
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(117)
>   making blobs for Administrator's user_info struct
> [2011/01/31 16:36:58, 3] auth/auth.c:(221)
>   check_ntlm_password:  Checking password for unmapped user 
> [SepperateDomain]\[Administrator]@[SOUTHEND] with the new password 
> interface
> [2011/01/31 16:36:58, 3] auth/auth.c:(224)
>   check_ntlm_password:  mapped user is: 
> [OURDOMAIN]\[Administrator]@[SOUTHEND]
> [2011/01/31 16:36:58, 0] auth/auth_domain.c:(260)
>   domain_client_validate: unable to validate password for user 
> Administrator in domain SepperateDomain to Domain controller ARIES. Error
>  was NT_STATUS_NO_SUCH_USER.
> [2011/01/31 16:36:58, 5] auth/auth.c:(273)
>   check_ntlm_password: winbind authentication for user [Administrator] 
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 2] auth/auth.c:(319)
>   check_ntlm_password:  Authentication for user [Administrator] -> 
> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/01/31 16:36:58, 5] auth/auth_util.c:(2108)
>   attempting to free (and zero) a user_info structure
> [2011/01/31 16:37:13, 0] lib/util_sock.c:(534)
>   read_data: read failure for 4 bytes to client 158.223.8.1. Error = 
> Connection reset by peer
> [2011/02/01 14:26:36, 5] auth/auth_util.c:(161)
>   make_user_info_map: Mapping user [SepperateDomain]\[Administrator] 
> from workstation [SOUTHEND]
> [2011/02/01 14:26:36, 5] auth/auth_util.c:(75)
>   attempting to make a user_info for Administrator (Administrator)
> [2011/02/01 14:26:36, 5] auth/auth_util.c:(85)
>   making strings for Administrator's user_info struct
> [2011/02/01 14:26:36, 5] auth/auth_util.c:(117)
>   making blobs for Administrator's user_info struct
> [2011/02/01 14:26:36, 3] auth/auth.c:(221)
>   check_ntlm_password:  Checking password for unmapped user 
> [SepperateDomain]\[Administrator]@[SOUTHEND] with the new password 
> interface
> [2011/02/01 14:26:36, 3] auth/auth.c:(224)
>   check_ntlm_password:  mapped user is: 
> [OURDOMAIN]\[Administrator]@[SOUTHEND]
> [2011/02/01 14:26:36, 0] auth/auth_domain.c:(260)
>   domain_client_validate: unable to validate password for user 
> Administrator in domain SepperateDomain to Domain controller ARIES. Error
>  was NT_STATUS_NO_SUCH_USER.
> [2011/02/01 14:26:36, 5] auth/auth.c:(273)
>   check_ntlm_password: winbind authentication for user [Administrator] 
> FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/02/01 14:26:36, 2] auth/auth.c:(319)
>   check_ntlm_password:  Authentication for user [Administrator] -> 
> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER
> [2011/02/01 14:26:36, 5] auth/auth_util.c:(2108)
>   attempting to free (and zero) a user_info structure
> [2011/02/01 14:26:51, 0] lib/util_sock.c:(534)
>   read_data: read failure for 4 bytes to client 158.223.8.1. Error = 
> Connection reset by peer



More information about the samba mailing list