Samba3 > samba 4
Bryan Anderson
shadow431 at gmail.com
Sat Oct 13 18:24:41 MDT 2012
So I have the domain set up a couple test machines running. I am trying to
access the netlogon share and recieve access denied.
at log level 3 I see (log.smbd) :
[2012/10/13 10:11:40.913096, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 29 of length 80 (0 toread)
[2012/10/13 10:11:40.913253, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtrans2 (pid 30083) conn 0x299ac30
[2012/10/13 10:11:40.913316, 3]
../source3/smbd/service.c:197(set_current_service)
chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
reason: Permission denied
[2012/10/13 10:11:40.913371, 3]
../source3/smbd/error.c:82(error_packet_set)
NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED
[2012/10/13 10:11:49.973771, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 30 of length 80 (0 toread)
[2012/10/13 10:11:49.974121, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtrans2 (pid 30083) conn 0x299ac30
[2012/10/13 10:11:49.974284, 3]
../source3/smbd/service.c:197(set_current_service)
chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
reason: Permission denied
[2012/10/13 10:11:49.974422, 3]
../source3/smbd/error.c:82(error_packet_set)
NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED
[2012/10/13 10:11:49.975491, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 31 of length 108 (0 toread)
[2012/10/13 10:11:49.975689, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtrans2 (pid 30083) conn 0x2e7f8b0
[2012/10/13 10:11:49.975977, 3]
../source3/smbd/msdfs.c:914(get_referred_path)
get_referred_path: |netlogon| in dfs path \seasmb\netlogon is not a dfs
root.
[2012/10/13 10:11:49.976109, 3]
../source3/smbd/error.c:82(error_packet_set)
NT error packet at ../source3/smbd/trans2.c(8419) cmd=50 (SMBtrans2)
NT_STATUS_NOT_FOUND
[2012/10/13 10:11:49.978787, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 32 of length 80 (0 toread)
[2012/10/13 10:11:49.978932, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtrans2 (pid 30083) conn 0x299ac30
[2012/10/13 10:11:49.979036, 3]
../source3/smbd/service.c:197(set_current_service)
chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
reason: Permission denied
[2012/10/13 10:11:49.979085, 3]
../source3/smbd/error.c:82(error_packet_set)
NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED
[2012/10/13 10:11:51.116438, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 33 of length 104 (0 toread)
[2012/10/13 10:11:51.116595, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtrans2 (pid 30083) conn 0x299ac30
[2012/10/13 10:11:51.116653, 3]
../source3/smbd/service.c:197(set_current_service)
chdir (/usr/local/samba/var/locks/sysvol/lss.local/scripts) failed,
reason: Permission denied
[2012/10/13 10:11:51.116700, 3]
../source3/smbd/error.c:82(error_packet_set)
NT error packet at ../source3/smbd/process.c(1511) cmd=50 (SMBtrans2)
NT_STATUS_ACCESS_DENIED
[2012/10/13 10:11:51.249705, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 34 of length 43 (0 toread)
[2012/10/13 10:11:51.249997, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBulogoffX (pid 30083) conn 0x0
[2012/10/13 10:11:51.251801, 3]
../source3/smbd/reply.c:2241(reply_ulogoffX)
ulogoffX vuid=1398
[2012/10/13 10:11:51.253216, 3] ../source3/smbd/process.c:1789(process_smb)
Transaction 35 of length 39 (0 toread)
[2012/10/13 10:11:51.254583, 3]
../source3/smbd/process.c:1392(switch_message)
switch message SMBtdis (pid 30083) conn 0x2e7f8b0
[2012/10/13 10:11:51.255669, 3] ../source3/smbd/service.c:1176(close_cnum)
10.0.2.120 (ipv4:10.0.2.120:1198) closed connection to service IPC$
[2012/10/13 10:11:51.256573, 3]
../source3/smbd/connection.c:38(yield_connection)
Yielding connection to IPC$
[2012/10/13 10:11:54.725494, 2]
../source3/smbd/server.c:435(remove_child_pid)
Could not find child 30101 -- ignoring
I have use chmod to set permissions to rwxrwxrwx+ on the scripts
directory. Still doesn't work. samba -V returns Version
4.1.0pre1-GIT-2c3a808 on a FC 15 box.
I am not worried about the IP address question from earlier as I need to
get the upgrade done.
Thanks,
-Bryan Anderson
On Wed, Oct 10, 2012 at 9:26 AM, Bryan Anderson <shadow431 at gmail.com> wrote:
> So here is the command I used for the upgrade.
>
> /usr/local/samba/bin/samba-tool domain classicupgrade
> --dbdir=/root/copy/samba/private/ --use-xattrs=yes --realm=lss.local
> /root/copy/smb.conf
>
> The /root/copy/samba/private directory contains:
> account_policy.tdb gencache_notrans.tdb gencache.tdb group_mapping.tdb
> passdb.tdb schannel_store.tdb secrets.tdb
>
> I will set the log level and log in with a non-rejoined machine tonight
> and reply with that then.
>
> Thanks,
> Bryan Anderson
>
>
>
>
> On Tue, Oct 9, 2012 at 7:58 PM, Ricky Nance <
> ricky.nance at weaubleau.k12.mo.us> wrote:
>
>> You won't be able to ping the workgroup name (which in this situation is
>> actually your domain). You have really given us very little to go on...
>> does Active Directory Users and Computers show the computers from the old
>> S3 domain? What happens if you add the line 'log level = 3' in your
>> smb.conf and restart samba, then try the login from a non re-joined
>> computer, does anything show up in /usr/local/samba/var/log.samba or
>> log.smbd? What was the exact command you used for the upgrade? Please give
>> us a bit more to go from.
>>
>> Thanks,
>> Ricky
>>
>>
>> On Tue, Oct 9, 2012 at 7:54 PM, Bryan Anderson <shadow431 at gmail.com>wrote:
>>
>>> So I talked with some others I know using samba and they said I should
>>> make
>>> sure the IP address of the new server is the same as the IP of the old
>>> server and it should work fine. It did. Is there anyway around this?
>>>
>>> -Bryan Anderson
>>>
>>>
>>>
>>> On Mon, Oct 8, 2012 at 5:20 PM, Bryan Anderson <shadow431 at gmail.com>
>>> wrote:
>>>
>>> > So I have migrated my samba 3 tdb and conf files to a new instance of
>>> > samba4 (Version 4.1.0pre1-GIT-8287938) following the how to on the
>>> wiki. I
>>> > have setup and added a WinXP and Win7 VM to the domain and
>>> authenticated
>>> > using existing credentials. The problem is that a machine already
>>> added
>>> > to the Samba3 domain is not seeing the new Test DC.
>>> >
>>> > I am new to samba and am not sure what additional information is
>>> needed.
>>> > I can ping the realm, but not the workgroup name.
>>> >
>>> > Any help would be much appreciated.
>>> >
>>> > Thanks,
>>> > Bryan Anderson
>>> >
>>> >
>>>
>>
>>
>>
>> --
>>
>>
>>
>
More information about the samba-technical
mailing list