[Samba] Administering Groups

2005-11-12 Thread Simon Faulkner

I have my Samba PDC running :-)

How do I administer groups from the samba box?

usrmgr.exe runs on the workstation but won't let me see groups

samba 3.0.14a-2 with tdbsam

TIA


Simon
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Unable to rsync in samba share.... please help !!!

2005-11-12 Thread updatemyself .
Hai All,
 how i can synchronise to samba share with out changing any Windows user or
group permission
i tried the following command.. but its keep only the master folder's
permission.. but not for al sub folders.
after synchronise, while i check rsync comand unable to synchronise with
the same Windows
user and group permission
 now i have to set... the windows permission.. after each and every
synchronisation
this is the command i use.. for synchronisation
 rsync -vcrRuHWog --progress MMCH /vol08_800/
 its successfully synchronise all files.. but not with user and group
permission
i use  -o  option to synchronise with same owner permission
and  -g  option to synchronise with same group permission
even then the command didnt gived me the correct result that i expect...
 All the permission i set from Windows 2003 ADS
 Hope some one can help me...
 thank you in advance,

--
regards,
Jerrynikki
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] vfs problem

2005-11-12 Thread Robert Schetterer

Sascha schrieb:


Hi list,

we are running a samba pdc version 3.0.20pre2-1 on
sles 8. we are using 2 vfs objects (vscan-clamav and
recycle). with vscan-clamav enabled the deleted files
on a samba share are not added to recycle directory.
When i remove the vscan entry the recycle object works
fine. May we only use 1 vfs object with samba?

Thanks for help and best regards




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
 


Hi, no you can combine any vfs , check your setup
Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Homes on different server...

2005-11-12 Thread Robert Schetterer

Olivier Houde schrieb:


Hi list
is there any way to specify on wich server a user's home is ?   Let me 
explain myself...   I have a Samba3 PDC here at the head office using 
LDAP as an authentication backend. We have offices in other cities and 
we would like them to be on the same domain. All those offices are 
linked using VPNs. I have no problem to configure LDAP and Samba to 
work together. The problem is that i want all those offices to be 
completely independant in case the VPN link goes down. For that, i 
need to split all my user's home between the BDCs and the PDC 
(depending in wich office the user is working), if want the users to 
still have an access to their home and profiles. I have an LDAP master 
here and a LDAP slave in each office. How can i tell samba that 
depending on the user, its home is on a different server ?  Can i use 
LDAP for that ?  If it's possible, how can i do that ?  Should i use 
an other solution ?  Trusted domain instead ?


Thanks
Olivier Houde


Hi, the home dirs of users can be hosted anywhere , just change the home 
path in ldap

Regards
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Administering Groups

2005-11-12 Thread paul kölle
Simon Faulkner wrote:
 I have my Samba PDC running :-)
 
 How do I administer groups from the samba box?
 
 usrmgr.exe runs on the workstation but won't let me see groups
have you setup groupmapping?

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Administering Groups

2005-11-12 Thread Simon Faulkner

paul kölle wrote:

Simon Faulkner wrote:


I have my Samba PDC running :-)

How do I administer groups from the samba box?

usrmgr.exe runs on the workstation but won't let me see groups


have you setup groupmapping?



Err, not sure!  I used the vampire to get the details from the NT4 PDC

I am wondering where to look for groups etc!

Sim
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Unable to rsync in samba share.... please help !!!

2005-11-12 Thread Roger Eisenecher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

updatemyself . schrieb:
 Hai All,
  how i can synchronise to samba share with out changing any Windows user or
 group permission
 i tried the following command.. but its keep only the master folder's
 permission.. but not for al sub folders.
 after synchronise, while i check rsync comand unable to synchronise with
 the same Windows
 user and group permission
  now i have to set... the windows permission.. after each and every
 synchronisation
 this is the command i use.. for synchronisation
  rsync -vcrRuHWog --progress MMCH /vol08_800/
  its successfully synchronise all files.. but not with user and group
 permission
 i use  -o  option to synchronise with same owner permission
 and  -g  option to synchronise with same group permission
 even then the command didnt gived me the correct result that i expect...
  All the permission i set from Windows 2003 ADS
  Hope some one can help me...
  thank you in advance,

Normally I synchronize with the follow command without any problems:
rsync -aPx --numeric-ids / someserver:/storage_location

This will also migrate user/group identities on the files...

kindly regards
rOger
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDdeqypF3l9rYt4bARAmEQAKCD5m3kWXfscRlGjWVqKmi+3yMX8wCfVl02
9/loReXpvr8XwxZSbeK47wQ=
=/LbT
-END PGP SIGNATURE-
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Administering Groups

2005-11-12 Thread Simon Faulkner

I am wondering where to look for groups etc!


Hmmm, it all seems to be done with net groupmap list

It's great, as you peer down into the murk you understand the next layer 
and you realise there are many more layers of voodoo to go!


wish me luck...


Sim
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Administering Groups

2005-11-12 Thread Simon Faulkner

net groupmap list ntgroup=Domain Admins
Domain Admins (S-1-5-21-1065375514-2370838480-4047619883-512) - -1



Does this mean I have no group for Domain Admins?

Do I need to map them to root?

TIA

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] groupmap

2005-11-12 Thread Simon Faulkner

Why would I have some NT domains more than once?

Did I screp up my import with the Vampire?

Should I delete the unmapped ones (Gulp!)

[EMAIL PROTECTED] ~]# net groupmap list
System Operators (S-1-5-32-549) - -1
Replicator (S-1-5-32-552) - Replicator
Guests (S-1-5-32-546) - Guests
Recipe (S-1-5-21-1019967034-149178136-1846952604-1016) - recipe
Domain Users (S-1-5-21-1065375514-2370838480-4047619883-513) - -1
Domain Users (S-1-5-21-217354674-1388124147-264849902-513) - -1
Domain Guests (S-1-5-21-217354674-1388124147-264849902-514) - -1
Power Users (S-1-5-32-547) - -1
Domain Users (S-1-5-21-2542624836-2007811437-2422883089-513) - -1
Domain Admins (S-1-5-21-1065375514-2370838480-4047619883-512) - -1
Print Operators (S-1-5-32-550) - -1
Administrators (S-1-5-32-544) - Administrators
Sage (S-1-5-21-1019967034-149178136-1846952604-1005) - Sage
Domain Admins (S-1-5-21-1019967034-149178136-1846952604-512) - -1
Domain Users (S-1-5-21-2196479170-443629602-2075717434-513) - users
Domain Guests (S-1-5-21-1019967034-149178136-1846952604-514) - -1
Domain Admins (S-1-5-21-2196479170-443629602-2075717434-512) - root
Domain Guests (S-1-5-21-1065375514-2370838480-4047619883-514) - -1
Domain Users (S-1-5-21-1019967034-149178136-1846952604-513) - -1
Domain Guests (S-1-5-21-2196479170-443629602-2075717434-514) - nobody
Account Operators (S-1-5-32-548) - -1
Domain Users (S-1-5-21-2968525064-3424225456-755833301-513) - -1
Domain Admins (S-1-5-21-2968525064-3424225456-755833301-512) - -1
Domain Guests (S-1-5-21-2968525064-3424225456-755833301-514) - -1
Backup Operators (S-1-5-32-551) - -1
Users (S-1-5-32-545) - Users
Domain Admins (S-1-5-21-2542624836-2007811437-2422883089-512) - -1
Accounts Dept (S-1-5-21-2196479170-443629602-2075717434-2003) - acctsdep
Domain Admins (S-1-5-21-217354674-1388124147-264849902-512) - -1
Domain Guests (S-1-5-21-2542624836-2007811437-2422883089-514) - -1
Financial Services (S-1-5-21-2196479170-443629602-2075717434-2005) - 
finsrvcs

Sales (S-1-5-21-1019967034-149178136-1846952604-1030) - sales



TIA
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] net rpc vampire - cannot login to migrated computer accounts

2005-11-12 Thread Christoph Peus

Hello experts,

I've migrated our NT4 domain to sambe 3.0.20b/ldap backend with net rpc 
vampire, and nearly everything works as expected. But one big problem 
remains: it's not possible to login to the domains member maschines now, 
because the domain is not available at the moment (translated from 
german). After the maschine rejoined the samba domain, login works. (But 
this is not an option for our ~500 maschines...)


I have looked at the computer account of one maschine after the migration 
and after I rejoined the domain manually. There's a difference:


after net rpc vampire migration:

dn: uid=BIT59$,ou=computers,dc=uni-wh,dc=de
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: sambaSamAccount
cn: BIT59$
sn: BIT59$
uid: BIT59$
uidNumber: 22693
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer
structuralObjectClass: inetOrgPerson
entryUUID: 4de87562-e740-1029-802b-d5f8fbe677cd
creatorsName: cn=smbldap-tools,ou=DSA,dc=uni-wh,dc=de
createTimestamp: 2005204849Z
sambaSID: S-1-5-21-1139895982-289624505-398547282-4370
sambaPrimaryGroupSID: S-1-5-21-1139895982-289624505-398547282-515
displayName: BIT59$
sambaLogonTime: 1131741671
sambaNTPassword: 6D4D1F74BA851B7DB9DBCBA966C00AEF
sambaPwdLastSet: 1131727258
sambaAcctFlags: [W  ]
entryCSN: 2005204858Z#01#00#00
modifiersName: cn=samba,ou=DSA,dc=uni-wh,dc=de
modifyTimestamp: 2005204858Z

Something wrong here?


after the maschine rejoined the domain:

dn: uid=bit59$,ou=computers,dc=uni-wh,dc=de
objectClass: top
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: sambaSamAccount
cn: bit59$
sn: bit59$
uid: bit59$
uidNumber: 22694
gidNumber: 515
homeDirectory: /dev/null
loginShell: /bin/false
description: Computer
gecos: Computer
structuralObjectClass: inetOrgPerson
entryUUID: f490cd82-e7b4-1029-8a6d-c4cb6795876f
creatorsName: cn=smbldap-tools,ou=DSA,dc=uni-wh,dc=de
createTimestamp: 20051112104350Z
sambaSID: S-1-5-21-1139895982-289624505-398547282-46388
sambaPrimaryGroupSID: S-1-5-21-1139895982-289624505-398547282-515
displayName: BIT59$
sambaPwdCanChange: 1131878635
sambaPwdMustChange: 1142160235
sambaNTPassword: 22E8E02D746C544A1DB0D183715C2D86
sambaPwdLastSet: 1131792235
sambaAcctFlags: [W  ]
entryCSN: 20051112104358Z#01#00#00
modifiersName: cn=samba,ou=DSA,dc=uni-wh,dc=de
modifyTimestamp: 20051112104358Z

Obviously the sambaPwdCanChange and sambaPwdMustChange attributes are 
missing in the computer account after migration. Could this cause the 
problem or do I search at the wrong place?


Thanks in advance for your support!

Christoph

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] groupmap

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 13:28 +, Simon Faulkner wrote:
 Why would I have some NT domains more than once?
 
 Did I screp up my import with the Vampire?
 
 Should I delete the unmapped ones (Gulp!)
 
 [EMAIL PROTECTED] ~]# net groupmap list
 System Operators (S-1-5-32-549) - -1
 Replicator (S-1-5-32-552) - Replicator
 Guests (S-1-5-32-546) - Guests
 Recipe (S-1-5-21-1019967034-149178136-1846952604-1016) - recipe
 Domain Users (S-1-5-21-1065375514-2370838480-4047619883-513) - -1
 Domain Users (S-1-5-21-217354674-1388124147-264849902-513) - -1
 Domain Guests (S-1-5-21-217354674-1388124147-264849902-514) - -1
 Power Users (S-1-5-32-547) - -1
 Domain Users (S-1-5-21-2542624836-2007811437-2422883089-513) - -1
 Domain Admins (S-1-5-21-1065375514-2370838480-4047619883-512) - -1
 Print Operators (S-1-5-32-550) - -1
 Administrators (S-1-5-32-544) - Administrators
 Sage (S-1-5-21-1019967034-149178136-1846952604-1005) - Sage
 Domain Admins (S-1-5-21-1019967034-149178136-1846952604-512) - -1
 Domain Users (S-1-5-21-2196479170-443629602-2075717434-513) - users
 Domain Guests (S-1-5-21-1019967034-149178136-1846952604-514) - -1
 Domain Admins (S-1-5-21-2196479170-443629602-2075717434-512) - root
 Domain Guests (S-1-5-21-1065375514-2370838480-4047619883-514) - -1
 Domain Users (S-1-5-21-1019967034-149178136-1846952604-513) - -1
 Domain Guests (S-1-5-21-2196479170-443629602-2075717434-514) - nobody
 Account Operators (S-1-5-32-548) - -1
 Domain Users (S-1-5-21-2968525064-3424225456-755833301-513) - -1
 Domain Admins (S-1-5-21-2968525064-3424225456-755833301-512) - -1
 Domain Guests (S-1-5-21-2968525064-3424225456-755833301-514) - -1
 Backup Operators (S-1-5-32-551) - -1
 Users (S-1-5-32-545) - Users
 Domain Admins (S-1-5-21-2542624836-2007811437-2422883089-512) - -1
 Accounts Dept (S-1-5-21-2196479170-443629602-2075717434-2003) - acctsdep
 Domain Admins (S-1-5-21-217354674-1388124147-264849902-512) - -1
 Domain Guests (S-1-5-21-2542624836-2007811437-2422883089-514) - -1
 Financial Services (S-1-5-21-2196479170-443629602-2075717434-2005) - 
 finsrvcs
 Sales (S-1-5-21-1019967034-149178136-1846952604-1030) - sales
-
They are all different SID's 

There's only 1 of them that matters. The SID of your domain, the rest
are pretty much meaningless. It looks like you didn't follow the vampire
instructions closely enough. How about the users, what's their SID's
look like?

# net getlocalsid

# pdbedit -Lv|grep SID

# net groupmap list

The SID's should all the same...with the exception of the RID extensions
on the specific objects.

When you vampire, you must get the SID from the NT4 PDC, and then set
the samba box to the exact same SID, then vampire, then the users,
groups, machine accounts, etc. all have the same base SID

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net rpc vampire - cannot login to migrated computer accounts

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 15:32 +0100, Christoph Peus wrote:
 Hello experts,
 
 I've migrated our NT4 domain to sambe 3.0.20b/ldap backend with net rpc 
 vampire, and nearly everything works as expected. But one big problem 
 remains: it's not possible to login to the domains member maschines now, 
 because the domain is not available at the moment (translated from 
 german). After the maschine rejoined the samba domain, login works. (But 
 this is not an option for our ~500 maschines...)
 
 I have looked at the computer account of one maschine after the migration 
 and after I rejoined the domain manually. There's a difference:
 
 after net rpc vampire migration:
 
 dn: uid=BIT59$,ou=computers,dc=uni-wh,dc=de
 objectClass: top
 objectClass: inetOrgPerson
 objectClass: posixAccount
 objectClass: sambaSamAccount
 cn: BIT59$
 sn: BIT59$
 uid: BIT59$
 uidNumber: 22693
 gidNumber: 515
 homeDirectory: /dev/null
 loginShell: /bin/false
 description: Computer
 gecos: Computer
 structuralObjectClass: inetOrgPerson
 entryUUID: 4de87562-e740-1029-802b-d5f8fbe677cd
 creatorsName: cn=smbldap-tools,ou=DSA,dc=uni-wh,dc=de
 createTimestamp: 2005204849Z
 sambaSID: S-1-5-21-1139895982-289624505-398547282-4370
 sambaPrimaryGroupSID: S-1-5-21-1139895982-289624505-398547282-515
 displayName: BIT59$
 sambaLogonTime: 1131741671
 sambaNTPassword: 6D4D1F74BA851B7DB9DBCBA966C00AEF
 sambaPwdLastSet: 1131727258
 sambaAcctFlags: [W  ]
 entryCSN: 2005204858Z#01#00#00
 modifiersName: cn=samba,ou=DSA,dc=uni-wh,dc=de
 modifyTimestamp: 2005204858Z
 
 Something wrong here?
 
 
 after the maschine rejoined the domain:
 
 dn: uid=bit59$,ou=computers,dc=uni-wh,dc=de
 objectClass: top
 objectClass: inetOrgPerson
 objectClass: posixAccount
 objectClass: sambaSamAccount
 cn: bit59$
 sn: bit59$
 uid: bit59$
 uidNumber: 22694
 gidNumber: 515
 homeDirectory: /dev/null
 loginShell: /bin/false
 description: Computer
 gecos: Computer
 structuralObjectClass: inetOrgPerson
 entryUUID: f490cd82-e7b4-1029-8a6d-c4cb6795876f
 creatorsName: cn=smbldap-tools,ou=DSA,dc=uni-wh,dc=de
 createTimestamp: 20051112104350Z
 sambaSID: S-1-5-21-1139895982-289624505-398547282-46388
 sambaPrimaryGroupSID: S-1-5-21-1139895982-289624505-398547282-515
 displayName: BIT59$
 sambaPwdCanChange: 1131878635
 sambaPwdMustChange: 1142160235
 sambaNTPassword: 22E8E02D746C544A1DB0D183715C2D86
 sambaPwdLastSet: 1131792235
 sambaAcctFlags: [W  ]
 entryCSN: 20051112104358Z#01#00#00
 modifiersName: cn=samba,ou=DSA,dc=uni-wh,dc=de
 modifyTimestamp: 20051112104358Z
 
 Obviously the sambaPwdCanChange and sambaPwdMustChange attributes are 
 missing in the computer account after migration. Could this cause the 
 problem or do I search at the wrong place?
 
 Thanks in advance for your support!

it's easy enough to fix with the pdbedit command, set those values and
then try to log in.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] how to migrate to samba-ldap transparently?

2005-11-12 Thread Pablo Chamorro C.

On Fri, 11 Nov 2005, Craig White wrote:


of course you can change the SID on the PDC but that isn't gonna work
for the computers that are already joined to the domain that still have
the old SID


ok, my thinking is if e.g. I would need to upgrade my Linux RH 9.0/samba 
3.0.5-2 to e.g. FC4/samba 3.0.20, to avoid rejoin every windows client to 
the new domain, it would be enough to change the new PDC SID to the old 
one.  So in that ideal scenario it would be transparent.



samba documentation has information about migrating user profiles in the
excellent How-To. Microsoft has lots of documentation about migrating
user profiles. There is likely to be some 3rd party utilities to do that
as well. I have no experience with them.


thank you, I already was reading, I'm gonna try.


to the other, see the samba documentation for a comprehensive discussion
on migrating user profiles.


I see, thanks.


not everyone knows about the other mail lists for ldap and those lists
aren't openldap specific. I'm not going to get involved with your
frustration with openldap and the consultant you brought in to help you
with it. My feeling is that if you are going to commit to using LDAP,
you really need to understand it before you marry it to your everyday
functionality because you aren't going to be able to fix it when it
breaks until you understand it.


Actually I'm not frustrated.  The person who is helping us with ldap and 
samba is doing his best, only complaining with my refused 'off topic' 
emails, but perhaps you are right.  I know that ldap is a good think, 
specially to make possible to have a good PDC/BDCs implementation, but 
here the situation is a little difficult e.g. is hard to find courses for 
learning/training on ldap, even on samba, so what we have managed to 
deploy in our institution is based on the basic functionality of free 
software, for our own, trying to learn first how it works or trying to 
have a plan B to use when a system fails when is possible.


I appreciate very much your words and advices,

Pablo Chamorro C.


Craig





--
Tel: +57 (2) 7314752/3222/2595 - Fax: +57 (2) 7310514
Carrera 31 #18-07 Parque Infantil - PO Box 1795 - Pasto
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] net rpc vampire - cannot login to migrated computer accounts

2005-11-12 Thread Thomas Bork

Christoph Peus wrote:


after net rpc vampire migration:
uidNumber: 22693
sambaSID: S-1-5-21-1139895982-289624505-398547282-4370



after the maschine rejoined the domain:
uidNumber: 22694
sambaSID: S-1-5-21-1139895982-289624505-398547282-46388


Hi Christoph, nice to read you :)

What shows
testparm -sv 2/dev/null | grep 'algorithmic rid'
?

Think it will look like 'algorithmic rid base = 1000'
because 22694 * 2 + 1000 = 46388

You have to find the point in the migration process, where the new 
sambaSID is calculated. Your migrated sambaSID is not correct.


Example from my machine (no ldap):

# testparm -sv 2/dev/null | grep 'algorithmic rid'
algorithmic rid base = 1000

vmeis # id xp\$
uid=2005(xp$) gid=777(machines) Gruppen=777(machines)
vmeis # pdbedit -Lv xp$ | grep 'User SID'
User SID: S-1-5-21-2616608439-745089445-1077948534-5010

2005 * 2 + 1000 = 5010


der tom
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] groupmap

2005-11-12 Thread John H Terpstra
On Saturday 12 November 2005 06:28, Simon Faulkner wrote:
 Why would I have some NT domains more than once?

 Did I screp up my import with the Vampire?

 Should I delete the unmapped ones (Gulp!)

 [EMAIL PROTECTED] ~]# net groupmap list
 System Operators (S-1-5-32-549) - -1
 Replicator (S-1-5-32-552) - Replicator
 Guests (S-1-5-32-546) - Guests
 Recipe (S-1-5-21-1019967034-149178136-1846952604-1016) - recipe
 Domain Users (S-1-5-21-1065375514-2370838480-4047619883-513) - -1
 Domain Users (S-1-5-21-217354674-1388124147-264849902-513) - -1
 Domain Guests (S-1-5-21-217354674-1388124147-264849902-514) - -1
 Power Users (S-1-5-32-547) - -1
 Domain Users (S-1-5-21-2542624836-2007811437-2422883089-513) - -1
 Domain Admins (S-1-5-21-1065375514-2370838480-4047619883-512) - -1
 Print Operators (S-1-5-32-550) - -1
 Administrators (S-1-5-32-544) - Administrators
 Sage (S-1-5-21-1019967034-149178136-1846952604-1005) - Sage
 Domain Admins (S-1-5-21-1019967034-149178136-1846952604-512) - -1
 Domain Users (S-1-5-21-2196479170-443629602-2075717434-513) - users
 Domain Guests (S-1-5-21-1019967034-149178136-1846952604-514) - -1
 Domain Admins (S-1-5-21-2196479170-443629602-2075717434-512) - root
 Domain Guests (S-1-5-21-1065375514-2370838480-4047619883-514) - -1
 Domain Users (S-1-5-21-1019967034-149178136-1846952604-513) - -1
 Domain Guests (S-1-5-21-2196479170-443629602-2075717434-514) - nobody
 Account Operators (S-1-5-32-548) - -1
 Domain Users (S-1-5-21-2968525064-3424225456-755833301-513) - -1
 Domain Admins (S-1-5-21-2968525064-3424225456-755833301-512) - -1
 Domain Guests (S-1-5-21-2968525064-3424225456-755833301-514) - -1
 Backup Operators (S-1-5-32-551) - -1
 Users (S-1-5-32-545) - Users
 Domain Admins (S-1-5-21-2542624836-2007811437-2422883089-512) - -1
 Accounts Dept (S-1-5-21-2196479170-443629602-2075717434-2003) - acctsdep
 Domain Admins (S-1-5-21-217354674-1388124147-264849902-512) - -1
 Domain Guests (S-1-5-21-2542624836-2007811437-2422883089-514) - -1
 Financial Services (S-1-5-21-2196479170-443629602-2075717434-2005) -
 finsrvcs
 Sales (S-1-5-21-1019967034-149178136-1846952604-1030) - sales

You have started Samba, then changed the server or workgroup name, then 
restarted Samba, and possibly then tried to do the net rpc vampire process. 
As a result your mappings are contaminated. You can clean this up by 
executing: net groupmap cleanup

- John T.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Path issues in share name

2005-11-12 Thread Barry Johnson
I'm trying to setup samba 3 on FC4 to act a PDC and file server.  I
created the smb.conf file like I always have in the past but I keep
getting this error.

/home/samba/netlogon' does not exist or is not a directory, when
connecting to [netlogon]

with relevant section from smb.conf  [netlogon]
   comment = Network Logon Service
   path = /home/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no

and for sanity sake
[EMAIL PROTECTED] samba]# ls -l
total 16
drwxr-xr-x  2 root root 4096 Nov 19  2002 netlogon
drwxrwxr-x  6 root root 4096 Aug 30  2004 profiles
[EMAIL PROTECTED] samba]# pwd
/home/samba


Any help possible is appreciated...




-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Help with error message: Can't become connected user

2005-11-12 Thread Michael W Cocke
I cannot even start troubleshooting until I buy a clue.  What does
Can't become connected user mean?
It shows up fairly often.  Aside from happening when I try to access a
share, there's no pattern that I can see.
--
6 11:34:40 badlands smbd[20524]: [2005/11/06 11:34:40, 0]
smbd/service.c:make_connection_snum(577)

Nov  6 11:34:40 badlands smbd[20524]:   Can't become connected user!
--

Just point me to what the message actually means and I'll go from
there. Thanks!

Mike-

--
Mornings:  Evolution in action.  Only the grumpy will survive.
--

Please note - Due to the intense volume of spam, we have installed site-wide 
spam
 filters at catherders.com.  If email from you bounces, try non-HTML, 
non-encoded, 
non-attachments.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Path issues in share name

2005-11-12 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Barry Johnson wrote:
| I'm trying to setup samba 3 on FC4 to act a PDC and file server.  I
| created the smb.conf file like I always have in the past but I keep
| getting this error.
|
| /home/samba/netlogon' does not exist or is not a directory, when
| connecting to [netlogon]
|
| with relevant section from smb.conf  [netlogon]
|comment = Network Logon Service
|path = /home/samba/netlogon
|guest ok = yes
|writable = no
|share modes = no
|
| and for sanity sake
| [EMAIL PROTECTED] samba]# ls -l
| total 16
| drwxr-xr-x  2 root root 4096 Nov 19  2002 netlogon
| drwxrwxr-x  6 root root 4096 Aug 30  2004 profiles
| [EMAIL PROTECTED] samba]# pwd
| /home/samba


Barry,

Check permissions on /home/samba





cheers, jerry
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDdhwVIR7qMdg1EfYRAs3oAJ9pb7Ie8tS2jOlXUBHWXQDxAC7/8gCeP+0C
EtfLNMLC7DKsA6+d6WTVHLI=
=P6jU
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Path issues in share name

2005-11-12 Thread Barry Johnson
I did check the permissions of the directory and everything looks good.

[EMAIL PROTECTED] home]# ls -l
total 413528
drwxr-xr-x   2 baj  baj   4096 Nov 12 10:35 baj
drwxrwxrwx   4 root root  4096 Nov 12 11:35 samba

It also isn't mounting my home dir on the windows xp machine, same error
as before with the obvious changes in the error message, and those
permissions look good too.  I'll mention that I didn't make any changes
to the home dir section of the config file.

I did a ps of the smb process and it still looks like it runs as root,
does it spawn children that run as some other user that could be causing
this problem???

On Sat, 2005-11-12 at 10:45 -0600, Gerald (Jerry) Carter wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Barry Johnson wrote:
 | I'm trying to setup samba 3 on FC4 to act a PDC and file server.  I
 | created the smb.conf file like I always have in the past but I keep
 | getting this error.
 |
 | /home/samba/netlogon' does not exist or is not a directory, when
 | connecting to [netlogon]
 |
 | with relevant section from smb.conf  [netlogon]
 |comment = Network Logon Service
 |path = /home/samba/netlogon
 |guest ok = yes
 |writable = no
 |share modes = no
 |
 | and for sanity sake
 | [EMAIL PROTECTED] samba]# ls -l
 | total 16
 | drwxr-xr-x  2 root root 4096 Nov 19  2002 netlogon
 | drwxrwxr-x  6 root root 4096 Aug 30  2004 profiles
 | [EMAIL PROTECTED] samba]# pwd
 | /home/samba
 
 
 Barry,
 
 Check permissions on /home/samba
 
 
 
 
 
 cheers, jerry
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.0 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFDdhwVIR7qMdg1EfYRAs3oAJ9pb7Ie8tS2jOlXUBHWXQDxAC7/8gCeP+0C
 EtfLNMLC7DKsA6+d6WTVHLI=
 =P6jU
 -END PGP SIGNATURE-

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Slow Access Database on Samba

2005-11-12 Thread Jorge Santiago
I've applied all the optimizations you mention in that URL in my own
smb.conf but my problem persists.  The first user of the database
opens it very fast, but the next users that try to open it, do it very
slowly.  Do you know what option (locking option?) might cause this
behaviour? I've also tried 'strict locking = no' with no success.

Thanks for your help,

santiago.

On 11/11/05, Gerald Drouillard [EMAIL PROTECTED] wrote:
 Dave Williams wrote:
  Dear  All,
 
  We have an access database running on a Samba share (Samba version
  3.0.10-1.4E) with a gigabit connection to the network. The front end of the
  databases are on the client machines with linked tables stored in a separate
  mdb file on the linux server.
 
  For some reason the database runs very slowly when it is set up in this way.
  I tested copying a 10 MB file onto the samba share and it was instant which
  leads me to believe that this is not a networking issue but tweak needed to
  the smb.conf file. I have also run the database with the back end stored on
  a Windows Peer in the network - it runs much faster than on  the linux
  setup. Here is the current Global setting in smb.conf. I would be very
  grateful if anyone can help;
 
 
  [global]
  workgroup = ACE
  server string = Ace New Server
  passdb backend = tdbsam
  username map = /etc/samba/smbusers
  wins support = Yes
  local master = yes
  preferred master = yes
  wins support = yes
  socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096
  SO_RCVBUF=4096
  oplocks = no
 
 
  Dave Williams
 
 
 

 Have a look at:
 http://drouillard.ca/TipsTricks/Samba/Oplocks.htm

 --
 Regards
 --
 Gerald Drouillard
 Technology Architect
 Drouillard  Associates, Inc.
 http://www.Drouillard.ca
 --
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba/LDAP-Backend stability on Debian Sarge

2005-11-12 Thread Jorge Santiago
Hi,

First, excuse me if this post is a bit offtopic, maybe this should be
posted in the debian-users maillist, but I just wanted to read your
experiences with this kind of setup, since I've  migrated the server
to Debian Sarge using LDAP Backend to serve clients using WinXP and
Win98, and I've got this serious problems:

- Samba segfaults [1]
- slapd process crashes very often, almost once per day (i had to
create a cron job to restart it periodically).
- Slow MS Access database access [2] (I'm still trying to figure this
one, maybe is a change of default in some samba option).

Any of you is running a setup like this and having similar problems? 
Any Idea on how I could solve any of this?

Thanks,

santiago.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314461
[2] http://rubyurl.com/9Dz
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Automatically Join Domain after Reboot

2005-11-12 Thread Tommy Pruitt
FC4 Samba 3 joining Windows 2003 Domain.
I have to manually join the Domain after rebooting.  If I set samba to
start when booting it doesn't join the domain.  I have to smb stop, net
join ..., smb start from the command line and then it will join the
domain and work fine.  Is there something in the smb.conf that I can set
to join the domain when smb starts?
Thanks,
Tommy 


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] LDAP integration

2005-11-12 Thread Antony Gelberg
We're into our new server build.  We have built Samba / LDAP servers
before, but never a PDC.  I'm not sure that this question is
PDC-specific though.

What is the difference between smbldap-useradd, and adding a user to the
LDAP database normally e.g. with cpu useradd?

Are smbldap-tools needed for new installs, or only where an existing
Samba database is being migrated to LDAP?

What is the best practise for the administrator for new installs?  We
plan to join machines to the domain as root.  Is this overly dangerous?
 Do we need to create an admin user and group to join machines?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] groupmap

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 15:48 +, Simon Faulkner wrote:
 Craig White wrote:
  On Sat, 2005-11-12 at 13:28 +, Simon Faulkner wrote:
  
 Why would I have some NT domains more than once?
 
 Did I screp up my import with the Vampire?
 
 Should I delete the unmapped ones (Gulp!)
 
 [EMAIL PROTECTED] ~]# net groupmap list
 System Operators (S-1-5-32-549) - -1
 Replicator (S-1-5-32-552) - Replicator
 Guests (S-1-5-32-546) - Guests
 Recipe (S-1-5-21-1019967034-149178136-1846952604-1016) - recipe
 Domain Users (S-1-5-21-1065375514-2370838480-4047619883-513) - -1
 Domain Users (S-1-5-21-217354674-1388124147-264849902-513) - -1
 Domain Guests (S-1-5-21-217354674-1388124147-264849902-514) - -1
 Power Users (S-1-5-32-547) - -1
 Domain Users (S-1-5-21-2542624836-2007811437-2422883089-513) - -1
 Domain Admins (S-1-5-21-1065375514-2370838480-4047619883-512) - -1
 Print Operators (S-1-5-32-550) - -1
 Administrators (S-1-5-32-544) - Administrators
 Sage (S-1-5-21-1019967034-149178136-1846952604-1005) - Sage
 Domain Admins (S-1-5-21-1019967034-149178136-1846952604-512) - -1
 Domain Users (S-1-5-21-2196479170-443629602-2075717434-513) - users
 Domain Guests (S-1-5-21-1019967034-149178136-1846952604-514) - -1
 Domain Admins (S-1-5-21-2196479170-443629602-2075717434-512) - root
 Domain Guests (S-1-5-21-1065375514-2370838480-4047619883-514) - -1
 Domain Users (S-1-5-21-1019967034-149178136-1846952604-513) - -1
 Domain Guests (S-1-5-21-2196479170-443629602-2075717434-514) - nobody
 Account Operators (S-1-5-32-548) - -1
 Domain Users (S-1-5-21-2968525064-3424225456-755833301-513) - -1
 Domain Admins (S-1-5-21-2968525064-3424225456-755833301-512) - -1
 Domain Guests (S-1-5-21-2968525064-3424225456-755833301-514) - -1
 Backup Operators (S-1-5-32-551) - -1
 Users (S-1-5-32-545) - Users
 Domain Admins (S-1-5-21-2542624836-2007811437-2422883089-512) - -1
 Accounts Dept (S-1-5-21-2196479170-443629602-2075717434-2003) - acctsdep
 Domain Admins (S-1-5-21-217354674-1388124147-264849902-512) - -1
 Domain Guests (S-1-5-21-2542624836-2007811437-2422883089-514) - -1
 Financial Services (S-1-5-21-2196479170-443629602-2075717434-2005) - 
 finsrvcs
 Sales (S-1-5-21-1019967034-149178136-1846952604-1030) - sales
  
  -
  They are all different SID's 
  
  There's only 1 of them that matters. The SID of your domain, the rest
  are pretty much meaningless. It looks like you didn't follow the vampire
  instructions closely enough. How about the users, what's their SID's
  look like?
  
  # net getlocalsid
  
  # pdbedit -Lv|grep SID
  
  # net groupmap list
  
  The SID's should all the same...with the exception of the RID extensions
  on the specific objects.
  
  When you vampire, you must get the SID from the NT4 PDC, and then set
  the samba box to the exact same SID, then vampire, then the users,
  groups, machine accounts, etc. all have the same base SID
  
  Craig
 
 
 [EMAIL PROTECTED] ~]# net getlocalsid
 [2005/11/12 15:48:20, 0] utils/net.c:net_getlocalsid(494)
Can't fetch domain SID for name: OXIDEPDC
 
 I guess I am in trouble?

Let's keep this on the list so you can benefit from other perhaps more
knowledgeable or more insightful and perhaps they can benefit from the
resolution of your situation.

it does appear that there is a problem with your setup. At this point
you should try a tdbdump of your tdb passdb to see what it looks like
and if it is garbage, delete it and start all over. If it looks good,
you can net setlocalsid and it should take but the results of the other
commands I listed above 

I can tell you this much...I have never been satisfied with my first
pass ever on a vampire from an NT4 server. Generally, I have to fix
stuff up with my LDAP setup or smbldap-tools to get it exactly right. I
never use tdb passdb so I can't tell you the exact procedures but with
ldap passdb, I always slapcat the ldap db prior to doing the net rpc
vampire, check out the results in ldap, wipe it all out, restore from
the slapcat that I did previously, fix the things that aren't perfect
and do it again. It takes a few passes. The first time I ever migrated
an NT4 PDC to samba PDC, it probably took about 30 passes - but I tried
to be meticulous. Now, it probably takes me from 2-4 passes but I am
getting quite good at setting up ldap.

Good luck

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] LDAP user

2005-11-12 Thread Antony Gelberg
This follows on from the previous questions.  I noticed that
smbldap-tools With lines like

ldap user suffix = ou=Users

in smb.conf, should we change Users to People if that's how our LDAP
database was set up, or do Users and People generally mean different
things in LDAP?
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba/LDAP-Backend stability on Debian Sarge

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 12:35 -0500, Jorge Santiago wrote:
 Hi,
 
 First, excuse me if this post is a bit offtopic, maybe this should be
 posted in the debian-users maillist, but I just wanted to read your
 experiences with this kind of setup, since I've  migrated the server
 to Debian Sarge using LDAP Backend to serve clients using WinXP and
 Win98, and I've got this serious problems:
 
 - Samba segfaults [1]
 - slapd process crashes very often, almost once per day (i had to
 create a cron job to restart it periodically).
 - Slow MS Access database access [2] (I'm still trying to figure this
 one, maybe is a change of default in some samba option).
 
 Any of you is running a setup like this and having similar problems? 
 Any Idea on how I could solve any of this?
 
 Thanks,
 
 santiago.
 
 [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=314461
 [2] http://rubyurl.com/9Dz

seems as though you have to fix samba segfaulting issue and slapd issue
first before you can think about fixing slow Access issue.

samba is very stable daemon when properly installed  configured

openldap is very stable daemon when properly installed  configured

I haven't a clue on where you might have deviated in
installation/configuration processes on either samba or openldap that
might be causing your issues and you might want to use debian resources
to help you troubleshoot them.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] LDAP user

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 18:56 +, Antony Gelberg wrote:
 This follows on from the previous questions.  I noticed that
 smbldap-tools With lines like
 
 ldap user suffix = ou=Users
 
 in smb.conf, should we change Users to People if that's how our LDAP
 database was set up, or do Users and People generally mean different
 things in LDAP?

simple question, simple answer...yes, change it.

complicated answer...it's your DSA and you set it up however you want it
to be set up. It seems logical to me to have the same LDAP account have
both posix and samba attributes and that is what I would do.
Organizational Units in LDAP (ou) are only containers and don't mean
anything to LDAP other than the fact that they are containers for things
like DN's and whether they are named People or Users is entirely at the
administrator's discretion and of little consequence when properly
configured.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba 3.0.21rc1 Available for Download

2005-11-12 Thread Gerald (Jerry) Carter

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

==
  I'm a great big boot in a world of toes.
   -- David Mullen
==
Release Announcements
=

This is a release candidate of the 3.0.21 code base and is
provided for testing purposes only.  While close to the final
stable release, this snapshot is *not* intended for production
servers.

Common bugs fixed in 3.0.21rc1 include:

~  o Portability and crash bugs.
~  o Performance issues in winbindd.

New features introduced in Samba 3.0.21rc1 include:

~  o Performance Counter external daemon.
~  o Winbindd auto-detection query methods when communicating
~with a domain controller.



Download Details


The uncompressed tarballs and patch files have been signed
using GnuPG (ID 157BC95E).  The source code can be downloaded
from:

http://download.samba.org/samba/ftp/rc/

The release notes (WHATSNEW-3-0-21rc1.txt) are available
in the same download directory as the source distribution.

Binary packages are available at

http://download.samba.org/samba/ftp/Binary_Packages/

Our Code, Our Bugs, Our Responsibility.
(https://bugzilla.samba.org/)

--Enjoy
The Samba Team
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDdRGYIR7qMdg1EfYRAkcKAJ9GydRYB7BKXdgwdPm9SP91vK5B0ACeLdnn
LLmgD/PxnCmYKhs9rPqCNFk=
=eULr
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Have to love MS, Was: - Re: w32time and Samba PDC Domains

2005-11-12 Thread Matthew Easton


On Nov 10, 2005, at 4:58 AM, Michael Lueck wrote:


Michael Lueck wrote:
So close to working that this is annoying. Upon looking into the  
Windows DHCP client, one can request specific DHCP options be  
mapped to specific places in the registry, so I cooked up the  
following:

REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dhcp 
\Parameters\Options\4] RegLocation=SYSTEM\\CurrentControlSet\ 
\Services\\W32Time\\Parameters\\NtpServer KeyType=dword:0001


I ended up doing RegMon through a DHCP release/renew... nadda.  
RegMon through an IPL of the computer... nadda! It would appear to  
me that this above functionality has been disabled in Win2K SP4, or  
who knows... The Options area under DHCP\Parameters never got  
touched - my added key or any of the existing ones. Might just as  
well come up with another solution then. Just thought I would  
update on where this path ended.


--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/

Remove the upper case letters NOSPAM to contact me directly.

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba




There is a security policy setting you must change.
You want to give Authenticated Users the right to adjust the time.   
Sorry I don't have a windows PC before me at the moment, so I can't  
point you to the exact item
 --control panel/administrative tools/security settings-- or  
something like it.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Automounting Windows XP share on Linux

2005-11-12 Thread Jeffrey Barish
I have /etc/auto.master and /etc/auto.smb such that 

ls /smb/name of system 

works for the two Win98 machines on my network (the machines get
automatically mounted and the directory contains C).  When I try the same
command on the Windows XP machine, I get 

No such file or directory

The auto.smb file that came with my OS (Libranet 3) uses smbclient to get a
list of resources on the target.  With the Win98 machine, the output of 

smbclient -gNL Win98machine

is

Disk|C|C on Win98machine 
IPC|IPC$|Remote Inter Process Communication

But, smbclient -gNL WindowsXPmachine produces

IPC|IPC$|Remote IPC 
Disk|print$|Printer Drivers 
Disk|C on WindowsXPmachine| 
Disk|ADMIN$|Remote Admin 
Disk|C$|Default share

auto.smb makes a command option string from this output using awk by looking
for lines that start with Disk and then using the token that follows the
|. In the case of the Win98 machines, it gets C, which is what gets
mounted. But most, if not all, of the Disk lines from the XP machine are
bogus. Certainly print$ is not a mountable drive. Nor is ADMIN$. C on
WindowsXPmachine is a comment, not the name of a drive. That leaves C$.
I don't know what effect the $ has, but otherwise this entry is correct.
Does anyone know why I am getting the other entries?  Is there anything I
can do to Windows XP to suppress these bogus responses?  If anyone else has
a Windows XP server, do you get the same stuff back from smbclient?
-- 
Jeffrey Barish

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Automounting Windows XP share on Linux

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 15:49 -0700, Jeffrey Barish wrote:
 I have /etc/auto.master and /etc/auto.smb such that 
 
 ls /smb/name of system 
 
 works for the two Win98 machines on my network (the machines get
 automatically mounted and the directory contains C).  When I try the same
 command on the Windows XP machine, I get 
 
 No such file or directory
 
 The auto.smb file that came with my OS (Libranet 3) uses smbclient to get a
 list of resources on the target.  With the Win98 machine, the output of 
 
 smbclient -gNL Win98machine
 
 is
 
 Disk|C|C on Win98machine 
 IPC|IPC$|Remote Inter Process Communication
 
 But, smbclient -gNL WindowsXPmachine produces
 
 IPC|IPC$|Remote IPC 
 Disk|print$|Printer Drivers 
 Disk|C on WindowsXPmachine| 
 Disk|ADMIN$|Remote Admin 
 Disk|C$|Default share
 
 auto.smb makes a command option string from this output using awk by looking
 for lines that start with Disk and then using the token that follows the
 |. In the case of the Win98 machines, it gets C, which is what gets
 mounted. But most, if not all, of the Disk lines from the XP machine are
 bogus. Certainly print$ is not a mountable drive. Nor is ADMIN$. C on
 WindowsXPmachine is a comment, not the name of a drive. That leaves C$.
 I don't know what effect the $ has, but otherwise this entry is correct.
 Does anyone know why I am getting the other entries?  Is there anything I
 can do to Windows XP to suppress these bogus responses?  If anyone else has
 a Windows XP server, do you get the same stuff back from smbclient?

a little bit google searching or a little bit of study of Windows
Networking would tell you what these shares are and yes, everyone would
get those shares.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Mike Hanby
Howdy y'all, I have a new partition, /dev/hdc1 that's ext3 formatted.
# mkfs.ext3 -L /backup /dev/hdc1

Then added it to /etc/fstab
LABEL=/backup   /backup ext3defaults1 2

As you can see I'm mounting the file system into directory /backup

My smb.conf file has the following settings:

security = share

[netfiles]
   comment = Network file storage space
   path = /backup
   read only = no
   public = yes

Now, before mounting /dev/hdc1, I can connect to the share from my XP system
using:  \\smbmachine\netfiles

Then, I mount the file system to /backup:  mount /dev/hdc1   and try to
connect:  \\smbmachine\netfiles

This time XP either prompts me for a GUEST password, or I get an error
\\smbmachine\netfiles is not accessible.

Here's the permissions:

/backup directory before mounting /dev/hdc1 into it:
drwxr-xr-x  2 root root 4096 Nov 12 17:27 /backup

Now, I mount /dev/hdc1 to /backup and here's the permissions
drwxr-xr-x  3 root root 4096 Nov 12 17:31 /backup

Any idea why I can browse into the netfiles share from my XP machine when
/backup is just a directory, but not after mounting /dev/hdc1 to it?

Thanks for any help, Mike

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 17:33 -0600, Mike Hanby wrote:
 Howdy y'all, I have a new partition, /dev/hdc1 that's ext3 formatted.
 # mkfs.ext3 -L /backup /dev/hdc1
 
 Then added it to /etc/fstab
 LABEL=/backup   /backup ext3defaults1 2
 
 As you can see I'm mounting the file system into directory /backup
 
 My smb.conf file has the following settings:
 
 security = share
 
 [netfiles]
comment = Network file storage space
path = /backup
read only = no
public = yes
 
 Now, before mounting /dev/hdc1, I can connect to the share from my XP system
 using:  \\smbmachine\netfiles
 
 Then, I mount the file system to /backup:  mount /dev/hdc1   and try to
 connect:  \\smbmachine\netfiles
 
 This time XP either prompts me for a GUEST password, or I get an error
 \\smbmachine\netfiles is not accessible.
 
 Here's the permissions:
 
 /backup directory before mounting /dev/hdc1 into it:
 drwxr-xr-x  2 root root 4096 Nov 12 17:27 /backup
 
 Now, I mount /dev/hdc1 to /backup and here's the permissions
 drwxr-xr-x  3 root root 4096 Nov 12 17:31 /backup
 
 Any idea why I can browse into the netfiles share from my XP machine when
 /backup is just a directory, but not after mounting /dev/hdc1 to it?
 
 Thanks for any help, Mike

check the [netfiles] 'path' property

\path is Windows pathing
/path is UNIX/Linux pathing

samba is reading a UNIX/Linux path and so it is wrong...

try 'testparm -s -v |less' to check for errors.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 16:42 -0700, Craig White wrote:
 On Sat, 2005-11-12 at 17:33 -0600, Mike Hanby wrote:
  Howdy y'all, I have a new partition, /dev/hdc1 that's ext3 formatted.
  # mkfs.ext3 -L /backup /dev/hdc1
  
  Then added it to /etc/fstab
  LABEL=/backup   /backup ext3defaults1 2
  
  As you can see I'm mounting the file system into directory /backup
  
  My smb.conf file has the following settings:
  
  security = share
  
  [netfiles]
 comment = Network file storage space
 path = /backup
 read only = no
 public = yes
  
  Now, before mounting /dev/hdc1, I can connect to the share from my XP system
  using:  \\smbmachine\netfiles
  
  Then, I mount the file system to /backup:  mount /dev/hdc1   and try to
  connect:  \\smbmachine\netfiles
  
  This time XP either prompts me for a GUEST password, or I get an error
  \\smbmachine\netfiles is not accessible.
  
  Here's the permissions:
  
  /backup directory before mounting /dev/hdc1 into it:
  drwxr-xr-x  2 root root 4096 Nov 12 17:27 /backup
  
  Now, I mount /dev/hdc1 to /backup and here's the permissions
  drwxr-xr-x  3 root root 4096 Nov 12 17:31 /backup
  
  Any idea why I can browse into the netfiles share from my XP machine when
  /backup is just a directory, but not after mounting /dev/hdc1 to it?
  
  Thanks for any help, Mike
 
 check the [netfiles] 'path' property
 
 \path is Windows pathing
 /path is UNIX/Linux pathing
 
 samba is reading a UNIX/Linux path and so it is wrong...
 
 try 'testparm -s -v |less' to check for errors.
 

also, I should have mentioned, you probably also would want something
like in [general]

guest account = SOME_ACCOUNT

and possibly

'guest only' in [netfiles]

see security = SHARE in 'man smb.conf'

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Automounting Windows XP share on Linux

2005-11-12 Thread Jeffrey Barish
Craig White wrote:

 On Sat, 2005-11-12 at 15:49 -0700, Jeffrey Barish wrote:
 I have /etc/auto.master and /etc/auto.smb such that
 
 ls /smb/name of system
 
 works for the two Win98 machines on my network (the machines get
 automatically mounted and the directory contains C).  When I try the
 same command on the Windows XP machine, I get
 
 No such file or directory
 
 The auto.smb file that came with my OS (Libranet 3) uses smbclient to get
 a
 list of resources on the target.  With the Win98 machine, the output of
 
 smbclient -gNL Win98machine
 
 is
 
 Disk|C|C on Win98machine
 IPC|IPC$|Remote Inter Process Communication
 
 But, smbclient -gNL WindowsXPmachine produces
 
 IPC|IPC$|Remote IPC
 Disk|print$|Printer Drivers
 Disk|C on WindowsXPmachine|
 Disk|ADMIN$|Remote Admin
 Disk|C$|Default share
 
 auto.smb makes a command option string from this output using awk by
 looking for lines that start with Disk and then using the token that
 follows the |. In the case of the Win98 machines, it gets C, which is
 what gets mounted. But most, if not all, of the Disk lines from the XP
 machine are bogus. Certainly print$ is not a mountable drive. Nor is
 ADMIN$. C on WindowsXPmachine is a comment, not the name of a drive.
 That leaves C$. I don't know what effect the $ has, but otherwise this
 entry is correct.
 Does anyone know why I am getting the other entries?  Is there anything I
 can do to Windows XP to suppress these bogus responses?  If anyone else
 has a Windows XP server, do you get the same stuff back from smbclient?
 
 a little bit google searching or a little bit of study of Windows
 Networking would tell you what these shares are and yes, everyone would
 get those shares.
 
 Craig
 
 
If everyone gets those shares, then how does everyone get auto.smb to work? 
Do they replace the standard auto.smb with one that filters out entries for
things that are listed as disks but are not?  And does everyone get these
bogus disk shares only from Windows XP, not other Windows OSs?
-- 
Jeffrey Barish

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Automounting Windows XP share on Linux

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 16:57 -0700, Jeffrey Barish wrote:
 Craig White wrote:
 

  
 If everyone gets those shares, then how does everyone get auto.smb to work? 
 Do they replace the standard auto.smb with one that filters out entries for
 things that are listed as disks but are not?  And does everyone get these
 bogus disk shares only from Windows XP, not other Windows OSs?

I've never used auto.smb or auto.fs and I'm somewhat curious about it
myself but those aren't bogus shares...that was my point.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Mike Hanby
Howdy, the path statement in the smb.conf file is using Unix pathing.

path = /backup

I tried adding the guest only = yes to the [netfiles] section and it
didn't change anything.

Here's my [netfiles] section again:
[netfiles]
   comment = Network file storage space
   path = /backup
   read only = no
   guest only = yes
   public = yes

Basically, what it's boiling down to is, I can create smb shares on my main
drive, /dev/hda1, and access them fine from my XP system.  It's only when I
try to access a share that points to a mount on my alternate hard drive
/dev/hdc1 is when I get the password prompts / error messages.

I'm thinking it's a file system permissions problem, but looking at the
permissions I don't see a difference between ones that work and those that
don't :-(

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Craig
White
Sent: Saturday, November 12, 2005 17:57
To: samba@lists.samba.org
Subject: Re: [Samba] Can't connect to smb share that's a mounted file system

On Sat, 2005-11-12 at 16:42 -0700, Craig White wrote:
 On Sat, 2005-11-12 at 17:33 -0600, Mike Hanby wrote:
  Howdy y'all, I have a new partition, /dev/hdc1 that's ext3 formatted.
  # mkfs.ext3 -L /backup /dev/hdc1
  
  Then added it to /etc/fstab
  LABEL=/backup   /backup ext3defaults
1 2
  
  As you can see I'm mounting the file system into directory /backup
  
  My smb.conf file has the following settings:
  
  security = share
  
  [netfiles]
 comment = Network file storage space
 path = /backup
 read only = no
 public = yes
  
  Now, before mounting /dev/hdc1, I can connect to the share from my XP
system
  using:  \\smbmachine\netfiles
  
  Then, I mount the file system to /backup:  mount /dev/hdc1   and try to
  connect:  \\smbmachine\netfiles
  
  This time XP either prompts me for a GUEST password, or I get an error
  \\smbmachine\netfiles is not accessible.
  
  Here's the permissions:
  
  /backup directory before mounting /dev/hdc1 into it:
  drwxr-xr-x  2 root root 4096 Nov 12 17:27 /backup
  
  Now, I mount /dev/hdc1 to /backup and here's the permissions
  drwxr-xr-x  3 root root 4096 Nov 12 17:31 /backup
  
  Any idea why I can browse into the netfiles share from my XP machine
when
  /backup is just a directory, but not after mounting /dev/hdc1 to it?
  
  Thanks for any help, Mike
 
 check the [netfiles] 'path' property
 
 \path is Windows pathing
 /path is UNIX/Linux pathing
 
 samba is reading a UNIX/Linux path and so it is wrong...
 
 try 'testparm -s -v |less' to check for errors.
 

also, I should have mentioned, you probably also would want something
like in [general]

guest account = SOME_ACCOUNT

and possibly

'guest only' in [netfiles]

see security = SHARE in 'man smb.conf'

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Craig White
On Sat, 2005-11-12 at 20:44 -0600, Mike Hanby wrote:
 Howdy, the path statement in the smb.conf file is using Unix pathing.
 
 path = /backup
 
 I tried adding the guest only = yes to the [netfiles] section and it
 didn't change anything.
 
 Here's my [netfiles] section again:
 [netfiles]
comment = Network file storage space
path = /backup
read only = no
guest only = yes
public = yes
 
 Basically, what it's boiling down to is, I can create smb shares on my main
 drive, /dev/hda1, and access them fine from my XP system.  It's only when I
 try to access a share that points to a mount on my alternate hard drive
 /dev/hdc1 is when I get the password prompts / error messages.
 
 I'm thinking it's a file system permissions problem, but looking at the
 permissions I don't see a difference between ones that work and those that
 don't :-(
 

Ok well you're not sharing some of that information so I can only
speculate but is /dev/hdc1 ... is that ext2/ext3 ?

running the command 'mount' would give that info. I'm wondering if it's
some NTFS or vfat mounted as a user that wouldn't have permissions.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] smbclient not accessable on debian

2005-11-12 Thread Steve Noble
I am a newbie to linux. I'm trying to learn everything at once.  I chose debian 
as my weapon of self destruction.  Recently I installed the debian version of 
Samba 3.0.20 for x86.  It seems to be up and running.  I can see it from my 
windows xp and win 98 machines which are on the same LAN, and when I run 
testparm I get no error messages.  The only thing is when I try to run 
smbclient -L myhost I get  smbclient: command not found.  Not only that when I 
type man smbclient I get no manual entry for smbclient.  smbclient is listed in 
the man page for Samba, but that just gives a brief description.  Is this a bug 
in the program?  Is it something that could be solved in smb.conf?  Is it a 
Debian idiosyncrasy?  What questions should I be asking?   Steve

 
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Can't connect to smb share that's a mounted file system

2005-11-12 Thread Mike Hanby
It's ext3 (In the original post I included the make file system command):
  # mkfs.ext3 -L /backup /dev/hdc1

If I do an ls -ld /backup before mounting and after mounting, the
permissions look the same to me, obviously I'm missing something but I can't
find it!

-Original Message-
From: Craig White [mailto:[EMAIL PROTECTED] 
Sent: Saturday, November 12, 2005 20:56
To: Mike Hanby
Cc: samba@lists.samba.org
Subject: RE: [Samba] Can't connect to smb share that's a mounted file system

On Sat, 2005-11-12 at 20:44 -0600, Mike Hanby wrote:
 Howdy, the path statement in the smb.conf file is using Unix pathing.
 
 path = /backup
 
 I tried adding the guest only = yes to the [netfiles] section and it
 didn't change anything.
 
 Here's my [netfiles] section again:
 [netfiles]
comment = Network file storage space
path = /backup
read only = no
guest only = yes
public = yes
 
 Basically, what it's boiling down to is, I can create smb shares on my
main
 drive, /dev/hda1, and access them fine from my XP system.  It's only when
I
 try to access a share that points to a mount on my alternate hard drive
 /dev/hdc1 is when I get the password prompts / error messages.
 
 I'm thinking it's a file system permissions problem, but looking at the
 permissions I don't see a difference between ones that work and those that
 don't :-(
 

Ok well you're not sharing some of that information so I can only
speculate but is /dev/hdc1 ... is that ext2/ext3 ?

running the command 'mount' would give that info. I'm wondering if it's
some NTFS or vfat mounted as a user that wouldn't have permissions.

Craig


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Re: smbclient not accessable on debian

2005-11-12 Thread Steve Noble
Couple of corrections to my previous post.  

1.  My Samba version is 3.0.14a-Debian not 3.0.20

2.  It's on i386 not x86, whatever that is.

Steve
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] groupmap

2005-11-12 Thread Simon Faulkner

it does appear that there is a problem with your setup. At this point
you should try a tdbdump of your tdb passdb to see what it looks like
and if it is garbage, delete it and start all over. If it looks good,
you can net setlocalsid and it should take but the results of the other
commands I listed above 


I can tell you this much...I have never been satisfied with my first
pass ever on a vampire from an NT4 server. Generally, I have to fix
stuff up with my LDAP setup or smbldap-tools to get it exactly right. I
never use tdb passdb so I can't tell you the exact procedures but with
ldap passdb, I always slapcat the ldap db prior to doing the net rpc
vampire, check out the results in ldap, wipe it all out, restore from
the slapcat that I did previously, fix the things that aren't perfect
and do it again. It takes a few passes. The first time I ever migrated
an NT4 PDC to samba PDC, it probably took about 30 passes - but I tried
to be meticulous. Now, it probably takes me from 2-4 passes but I am
getting quite good at setting up ldap.


Cheers Craig,

LDAP is next on my Agenda...

I'm just trying to get a grip of net groupmap - I think that holds the 
answer

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] (no subject)

2005-11-12 Thread Jim Kusznir
set delivery off
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


svn commit: samba r11698 - in branches/SAMBA_4_0/source/libcli/smb2: .

2005-11-12 Thread tridge
Author: tridge
Date: 2005-11-12 08:18:52 + (Sat, 12 Nov 2005)
New Revision: 11698

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11698

Log:

added some more level names

Modified:
   branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h
===
--- branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h  2005-11-12 07:48:56 UTC 
(rev 11697)
+++ branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h  2005-11-12 08:18:52 UTC 
(rev 11698)
@@ -169,17 +169,18 @@
 
 /* file information levels */
 #define SMB2_GETINFO_FILE_BASIC_INFO0x0401
-#define SMB2_GETINFO_FILE_050x0501
+#define SMB2_GETINFO_FILE_SIZE_INFO 0x0501
 #define SMB2_GETINFO_FILE_060x0601
-#define SMB2_GETINFO_FILE_070x0701
+#define SMB2_GETINFO_FILE_EA_SIZE   0x0701
 #define SMB2_GETINFO_FILE_ACCESS_INFO   0x0801
 #define SMB2_GETINFO_FILE_0E0x0e01
+#define SMB2_GETINFO_FILE_EA_INFO   0x0f01
 #define SMB2_GETINFO_FILE_100x1001
 #define SMB2_GETINFO_FILE_110x1101
 #define SMB2_GETINFO_FILE_ALL_INFO  0x1201
 #define SMB2_GETINFO_FILE_NAME_INFO 0x1501
 #define SMB2_GETINFO_FILE_STREAM_INFO   0x1601
-#define SMB2_GETINFO_FILE_1C0x1c01
+#define SMB2_GETINFO_FILE_EOF_INFO  0x1c01
 #define SMB2_GETINFO_FILE_STANDARD_INFO 0x2201
 #define SMB2_GETINFO_FILE_ATTRIB_INFO   0x2301
 



svn commit: samba r11699 - in branches/SAMBA_4_0/source/torture/smb2: .

2005-11-12 Thread tridge
Author: tridge
Date: 2005-11-12 08:19:39 + (Sat, 12 Nov 2005)
New Revision: 11699

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11699

Log:

use create_complex_file() to setup a file with a wide range of
different attributes before running the getinfo level scanner, making
it easier to recognise levels


Modified:
   branches/SAMBA_4_0/source/torture/smb2/scan.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/smb2/scan.c
===
--- branches/SAMBA_4_0/source/torture/smb2/scan.c   2005-11-12 08:18:52 UTC 
(rev 11698)
+++ branches/SAMBA_4_0/source/torture/smb2/scan.c   2005-11-12 08:19:39 UTC 
(rev 11699)
@@ -28,6 +28,31 @@
 #include lib/events/events.h
 
 
+/*
+  create a complex file using the old SMB protocol, to make it easier to 
+  find fields in SMB2 getinfo levels
+*/
+static BOOL setup_complex_file(const char *fname)
+{
+   struct smbcli_state *cli;
+   int fnum;
+
+   if (!torture_open_connection(cli)) {
+   return False;
+   }
+
+   fnum = create_complex_file(cli, cli, fname);
+
+   if (DEBUGLVL(1)) {
+   torture_all_info(cli-tree, fname);
+   }
+   
+   talloc_free(cli);
+   return fnum != -1;
+}
+
+
+
 /* 
scan for valid SMB2 getinfo levels
 */
@@ -52,6 +77,10 @@
return False;
}
 
+   if (!setup_complex_file(fname)) {
+   printf(Failed to setup complex file '%s'\n, fname);
+   }
+
ZERO_STRUCT(cr);
cr.in.buffer_code = 0x39;
cr.in.oplock_flags = 0;



svn commit: samba r11700 - in branches/SAMBA_4_0/source/libcli/smb2: .

2005-11-12 Thread tridge
Author: tridge
Date: 2005-11-12 08:39:36 + (Sat, 12 Nov 2005)
New Revision: 11700

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11700

Log:

added structure definitions for many of the getinfo structures

Modified:
   branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h
===
--- branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h  2005-11-12 08:19:39 UTC 
(rev 11699)
+++ branches/SAMBA_4_0/source/libcli/smb2/smb2_calls.h  2005-11-12 08:39:36 UTC 
(rev 11700)
@@ -178,7 +178,7 @@
 #define SMB2_GETINFO_FILE_100x1001
 #define SMB2_GETINFO_FILE_110x1101
 #define SMB2_GETINFO_FILE_ALL_INFO  0x1201
-#define SMB2_GETINFO_FILE_NAME_INFO 0x1501
+#define SMB2_GETINFO_FILE_SHORT_INFO0x1501
 #define SMB2_GETINFO_FILE_STREAM_INFO   0x1601
 #define SMB2_GETINFO_FILE_EOF_INFO  0x1c01
 #define SMB2_GETINFO_FILE_STANDARD_INFO 0x2201
@@ -203,3 +203,102 @@
} out;
 };
 
+union smb2_fileinfo {
+   struct {
+   NTTIME   create_time;
+   NTTIME   access_time;
+   NTTIME   write_time;
+   NTTIME   change_time;
+   uint32_t file_attr;
+   uint32_t unknown;
+   } basic_info;
+
+   struct {
+   uint64_t alloc_size;
+   uint64_t size;
+   uint32_t nlink;
+   uint32_t unknown;
+   } size_info;
+
+   struct {
+   uint32_t unknown1;
+   uint32_t unknown2;
+   } unknown06;
+
+   struct {
+   uint32_t ea_size;
+   } ea_info;
+
+   struct {
+   uint32_t access_mask;
+   } access_info;
+
+   struct {
+   uint32_t unknown1;
+   uint32_t unknown2;
+   } unknown0e;
+
+   struct {
+   struct smb_ea_list all_eas;
+   } all_ea_info;
+
+   struct {
+   uint32_t unknown; /* 2 */
+   } unknown10;
+
+   struct {
+   uint32_t unknown;
+   } unknown11;
+
+   struct {
+   NTTIME   create_time;
+   NTTIME   access_time;
+   NTTIME   write_time;
+   NTTIME   change_time;
+   uint32_t file_attr;
+   uint32_t unknown1;
+   uint64_t alloc_size;
+   uint64_t size;
+   uint32_t nlink;
+   uint32_t unknown2;
+   uint32_t unknown3;
+   uint32_t unknown4;
+   uint32_t ea_size;
+   uint32_t access_mask;
+   uint64_t unknown5;
+   uint64_t unknown6;
+   const char *fname;
+   } all_info;
+
+   struct {
+   const char *short_name;
+   } short_info;
+
+   struct {
+   uint32_t unknown;
+   uint64_t size;
+   uint64_t alloc_size;
+   const char *stream_name;
+   } stream_info;
+
+   struct {
+   uint64_t size;
+   uint64_t unknown;
+   } eof_info;
+
+   struct {
+   NTTIME   create_time;
+   NTTIME   access_time;
+   NTTIME   write_time;
+   NTTIME   change_time;
+   uint64_t alloc_size;
+   uint64_t size;
+   uint32_t file_attr;
+   uint32_t unknown;
+   } standard_info;
+
+   struct {
+   uint32_t file_attr;
+   uint32_t unknown;
+   } attrib_info;
+};



svn commit: samba-web r852 - in trunk: .

2005-11-12 Thread jerry
Author: jerry
Date: 2005-11-12 16:26:57 + (Sat, 12 Nov 2005)
New Revision: 852

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=852

Log:
announcing 3.0.21rc1
Modified:
   trunk/index.html


Changeset:
Modified: trunk/index.html
===
--- trunk/index.html2005-11-11 16:45:32 UTC (rev 851)
+++ trunk/index.html2005-11-12 16:26:57 UTC (rev 852)
@@ -15,35 +15,31 @@
 
 h2Current Release/h2
 
-h4a name=latest18 Oct 2005/a/h4
-p class=headlineSamba 3.0.21pre1 Available for Download/p
+h4a name=latest12 Nov 2005/a/h4
+p class=headlineSamba 3.0.21rc1 Available for Download/p
 
-pThis is a preview release of the Samba 3.0.21 code base and
-   is provided for testing only.  This release is *not* intended
-   for production servers.  There has been a substantial amount
-   of development since the 3.0.20 series of stable releases.
-   We would like to ask the Samba community for help in testing
-   these changes as we work towards the next significant production
-   upgrade Samba 3.0 release.  Please read the specific changes in the 
+pThis is a release candidate of the 3.0.21 code base and is provided
+   for testing purposes only.  While close to the final stable release,
+   this snapshot is emnot/em intended for production servers. Please 
read 
+   the specific changes in the 
a href=/samba/ftp/pre/WHATSNEW-3-0-21pre1.txtRelease Notes/a./p
 
-pThe a href=/samba/ftp/pre/samba-3.0.21pre1.tar.gzSamba 3.0.21pre1
+pThe a href=/samba/ftp/rc/samba-3.0.21rc1.tar.gzSamba 3.0.21rc1
source code/a can be downloaded now.  The a
-   href=/samba/ftp/pre/samba-3.0.21pre1.tar.ascGnuPG
+   href=/samba/ftp/rc/samba-3.0.21rc1.tar.ascGnuPG
signature for the emun/emcompressed tarball/a is also available.
-   If you prefer to download just the diff between 3.0.20b to 3.0.21pre1, 
the 
-   a href=/samba/ftp/pre/patch-3.0.20b-3.0.21pre1.diffs.gzpatch 
file/a 
-   (a href=/samba/ftp/pre/patch-3.0.20b-3.0.21pre1.diffs.ascgpg 
signature/a) is also available.
+   If you prefer to download just the diff between 3.0.21pre1 to 
3.0.21rc1, the 
+   a href=/samba/ftp/rc/patch-3.0.21pre1-3.0.21rc1.diffs.gzpatch 
file/a 
+   (a href=/samba/ftp/rc/patch-3.0.21pre1-3.0.21rc1.diffs.ascgpg 
signature/a) is also available.
Precompiled packages for Solaris and Fedora Core 4 are available in the
-   a href=/samba/ftp/Binary_Packages/Binary_Packages
-   download area/a.  Packages for other platforms will be available
-   shortly./p
+   a href=/samba/ftp/Binary_Packages/Binary_Packages download 
area/a.  
+   Packages for other platforms will be available shortly./p
 
 pSamba 3.0.21pre1 is also available via BitTorrent
-   (a 
href=http://torrent.samba.org/samba/ftp/pre/samba-3.0.21pre1.tar.gz.torrent;samba-3.0.21pre1.tar.gz.torrent/a).
+   (a 
href=http://torrent.samba.org/samba/ftp/pre/samba-3.0.21rc1.tar.gz.torrent;samba-3.0.21rc1.tar.gz.torrent/a).
Note that when downloading via BitTorrent, you are encouraged
to verify the resulting uncompressed tarball's
-   a href=/samba/ftp/pre/samba-3.0.21pre1.tar.ascGPG signature/a./p
+   a href=/samba/ftp/pre/samba-3.0.21rc1.tar.ascGPG signature/a./p
 
 h4a name=stable13 Oct 2005/a/h4
 p class=headlineSamba 3.0.20b Available for Download/p



svn commit: samba-web r853 - in trunk: .

2005-11-12 Thread jerry
Author: jerry
Date: 2005-11-12 16:28:54 + (Sat, 12 Nov 2005)
New Revision: 853

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=853

Log:
fixing typos and broken links
Modified:
   trunk/index.html


Changeset:
Modified: trunk/index.html
===
--- trunk/index.html2005-11-12 16:26:57 UTC (rev 852)
+++ trunk/index.html2005-11-12 16:28:54 UTC (rev 853)
@@ -22,7 +22,7 @@
for testing purposes only.  While close to the final stable release,
this snapshot is emnot/em intended for production servers. Please 
read 
the specific changes in the 
-   a href=/samba/ftp/pre/WHATSNEW-3-0-21pre1.txtRelease Notes/a./p
+   a href=/samba/ftp/pre/WHATSNEW-3-0-21rc1.txtRelease Notes/a./p
 
 pThe a href=/samba/ftp/rc/samba-3.0.21rc1.tar.gzSamba 3.0.21rc1
source code/a can be downloaded now.  The a
@@ -36,10 +36,10 @@
Packages for other platforms will be available shortly./p
 
 pSamba 3.0.21pre1 is also available via BitTorrent
-   (a 
href=http://torrent.samba.org/samba/ftp/pre/samba-3.0.21rc1.tar.gz.torrent;samba-3.0.21rc1.tar.gz.torrent/a).
+   (a 
href=http://torrent.samba.org/samba/ftp/rc/samba-3.0.21rc1.tar.gz.torrent;samba-3.0.21rc1.tar.gz.torrent/a).
Note that when downloading via BitTorrent, you are encouraged
to verify the resulting uncompressed tarball's
-   a href=/samba/ftp/pre/samba-3.0.21rc1.tar.ascGPG signature/a./p
+   a href=/samba/ftp/rc/samba-3.0.21rc1.tar.ascGPG signature/a./p
 
 h4a name=stable13 Oct 2005/a/h4
 p class=headlineSamba 3.0.20b Available for Download/p



svn commit: samba-web r854 - in trunk: .

2005-11-12 Thread jerry
Author: jerry
Date: 2005-11-12 16:29:59 + (Sat, 12 Nov 2005)
New Revision: 854

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=854

Log:
doh!one more broken link
Modified:
   trunk/index.html


Changeset:
Modified: trunk/index.html
===
--- trunk/index.html2005-11-12 16:28:54 UTC (rev 853)
+++ trunk/index.html2005-11-12 16:29:59 UTC (rev 854)
@@ -22,7 +22,7 @@
for testing purposes only.  While close to the final stable release,
this snapshot is emnot/em intended for production servers. Please 
read 
the specific changes in the 
-   a href=/samba/ftp/pre/WHATSNEW-3-0-21rc1.txtRelease Notes/a./p
+   a href=/samba/ftp/rc/WHATSNEW-3-0-21rc1.txtRelease Notes/a./p
 
 pThe a href=/samba/ftp/rc/samba-3.0.21rc1.tar.gzSamba 3.0.21rc1
source code/a can be downloaded now.  The a



svn commit: samba r11701 - in tags: .

2005-11-12 Thread jerry
Author: jerry
Date: 2005-11-12 16:53:14 + (Sat, 12 Nov 2005)
New Revision: 11701

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11701

Log:
tagging 3.0.21rc1
Added:
   tags/re/


Changeset:
Copied: tags/re (from rev 11700, branches/SAMBA_3_0_RELEASE)



svn commit: samba r11703 - in tags: .

2005-11-12 Thread jerry
Author: jerry
Date: 2005-11-12 16:54:11 + (Sat, 12 Nov 2005)
New Revision: 11703

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11703

Log:
bad tag (cut-n-paste error)

Removed:
   tags/re/


Changeset:


svn commit: samba r11704 - branches/SAMBA_3_0/source/nsswitch trunk/source/nsswitch

2005-11-12 Thread vlendec
Author: vlendec
Date: 2005-11-12 18:22:12 + (Sat, 12 Nov 2005)
New Revision: 11704

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11704

Log:
methods-alternate_name is not used anymore -- remove it
Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd.h
   branches/SAMBA_3_0/source/nsswitch/winbindd_ads.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_passdb.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_reconnect.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_rpc.c
   trunk/source/nsswitch/winbindd.h
   trunk/source/nsswitch/winbindd_ads.c
   trunk/source/nsswitch/winbindd_cache.c
   trunk/source/nsswitch/winbindd_passdb.c
   trunk/source/nsswitch/winbindd_reconnect.c
   trunk/source/nsswitch/winbindd_rpc.c


Changeset:
Sorry, the patch is too large (375 lines) to include; please use WebSVN to see 
it!
WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11704


svn commit: samba-web r855 - in trunk: . history news/releases

2005-11-12 Thread deryck
Author: deryck
Date: 2005-11-12 20:45:13 + (Sat, 12 Nov 2005)
New Revision: 855

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=samba-webrev=855

Log:

Add news item on 3.0.21rc1 release.
Move older release announcements to history.
Update release links and release note links.

deryck

Added:
   trunk/news/releases/3.0.21rc1.html
Modified:
   trunk/history/header_history.html
   trunk/history/index.html
   trunk/index.html


Changeset:
Modified: trunk/history/header_history.html
===
--- trunk/history/header_history.html   2005-11-12 16:29:59 UTC (rev 854)
+++ trunk/history/header_history.html   2005-11-12 20:45:13 UTC (rev 855)
@@ -77,6 +77,9 @@
   div class=notes
 h6Release Notes/h6
 ul
+lia href=samba-3.0.20b.htmlsamba-3.0.20b.html/a/li
+lia href=samba-3.0.20a.htmlsamba-3.0.20a.html/a/li
+lia href=samba-3.0.20.htmlsamba-3.0.20.html/a/li
 lia href=samba-3.0.14a.htmlsamba-3.0.14a.html/a/li
 lia href=samba-3.0.13.htmlsamba-3.0.13.html/a/li
 lia href=samba-3.0.12.htmlsamba-3.0.12.html/a/li

Modified: trunk/history/index.html
===
--- trunk/history/index.html2005-11-12 16:29:59 UTC (rev 854)
+++ trunk/history/index.html2005-11-12 20:45:13 UTC (rev 855)
@@ -6,8 +6,8 @@
 
 div class=latest 
   ul
-  liLatest Release mdash; a href=/samba/#latestSamba 3.0.21pre1/a/li
-  liCurrent Stable Release mdash; a href=/samba/#stableSamba 
3.0.20b/a/li 
+  liLatest Release mdash; a href=/samba/#latestSamba 3.0.21rc1/a/li
+  liCurrent Stable Release mdash; a href=#stableSamba 3.0.20b/a/li 
   !-- Second link will point to #stable on this page when current release is 
a development release --
   /ul
 /div
@@ -17,6 +17,65 @@
 
 h2Previous Release Announcments/h2
 
+h4a18 Oct 2005/a/h4
+p class=headlineSamba 3.0.21pre1 Available for Download/p
+
+pThis is a preview release of the Samba 3.0.21 code base and
+is provided for testing only.  This release is *not* intended
+for production servers.  There has been a substantial amount
+of development since the 3.0.20 series of stable releases.
+We would like to ask the Samba community for help in testing
+these changes as we work towards the next significant production
+upgrade Samba 3.0 release.  Please read the specific changes in the 
+a href=/samba/ftp/pre/WHATSNEW-3-0-21pre1.txtRelease Notes/a./p
+
+pThe a href=/samba/ftp/pre/samba-3.0.21pre1.tar.gzSamba 3.0.21pre1
+source code/a can be downloaded now.  The a
+href=/samba/ftp/pre/samba-3.0.21pre1.tar.ascGnuPG
+signature for the emun/emcompressed tarball/a is also available.
+If you prefer to download just the diff between 3.0.20b to 3.0.21pre1, the 
+a href=/samba/ftp/pre/patch-3.0.20b-3.0.21pre1.diffs.gzpatch file/a 
+(a href=/samba/ftp/pre/patch-3.0.20b-3.0.21pre1.diffs.ascgpg 
signature/a) is also available.
+Precompiled packages for Solaris and Fedora Core 4 are available in the
+a href=/samba/ftp/Binary_Packages/Binary_Packages
+download area/a.  Packages for other platforms will be available
+shortly./p
+
+pSamba 3.0.21pre1 is also available via BitTorrent
+(a 
href=http://torrent.samba.org/samba/ftp/pre/samba-3.0.21pre1.tar.gz.torrent;samba-3.0.21pre1.tar.gz.torrent/a).
+Note that when downloading via BitTorrent, you are encouraged
+to verify the resulting uncompressed tarball's
+a href=/samba/ftp/pre/samba-3.0.21pre1.tar.ascGPG signature/a./p
+
+
+h4a name=stable13 Oct 2005/a/h4
+p class=headlineSamba 3.0.20b Available for Download/p
+
+pWe are proud to announce the production release of Samba 3.0.20b.
+This is the latest stable release of Samba. This is the version
+that production Samba servers should be running for all current
+bug-fixes.  Please read the specific changes in the 
+a href=/samba/history/samba-3.0.20b.htmlRelease Notes/a./p
+
+pThe a href=/samba/ftp/stable/samba-3.0.20b.tar.gzSamba 3.0.20b
+source code/a can be downloaded now.  The a
+href=/samba/ftp/stable/samba-3.0.20b.tar.ascGnuPG
+signature for the emun/emcompressed tarball/a is also available.
+If you prefer to download just the diff between 3.0.20a to 3.0.20b, the 
+a href=/samba/ftp/patches/patch-3.0.20a-3.0.20b.diffs.gzpatch file/a 
+(a href=/samba/ftp/patches/patch-3.0.20a-3.0.20b.diffs.ascgpg 
signature/a) is also available.
+Precompiled packages for Solaris, SuSE, Fedora Core 4, and RedHat 9 are 
available in the
+a href=/samba/ftp/Binary_Packages/Binary_Packages
+download area/a.  Packages for other platforms will be available
+shortly./p
+
+pSamba 3.0.20b is also available via BitTorrent
+(a 
href=http://torrent.samba.org/samba/ftp/samba-3.0.20b.tar.gz.torrent;samba-3.0.20b.tar.gz.torrent/a).
+Note that when downloading via BitTorrent, you are encouraged
+to verify the resulting uncompressed tarball's
+a href=/samba/ftp/stable/samba-3.0.20b.tar.ascGPG signature/a./p
+
+
 h4a30 Sep 2005/a/h4
 p class=headlineSamba 3.0.20a Available for Download/p
 
@@ 

svn commit: samba r11705 - in branches/SAMBA_4_0/source/libnet: .

2005-11-12 Thread mimir
Author: mimir
Date: 2005-11-12 21:44:42 + (Sat, 12 Nov 2005)
New Revision: 11705

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=revroot=sambarev=11705

Log:
Fix segfaulting create user function.


rafal


Modified:
   branches/SAMBA_4_0/source/libnet/libnet_user.c


Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_user.c
===
--- branches/SAMBA_4_0/source/libnet/libnet_user.c  2005-11-12 18:22:12 UTC 
(rev 11704)
+++ branches/SAMBA_4_0/source/libnet/libnet_user.c  2005-11-12 21:44:42 UTC 
(rev 11705)
@@ -31,10 +31,14 @@
struct libnet_Lookup fp;
struct libnet_rpc_domain_open dom_io;
struct libnet_rpc_useradd user_io;
+   const char *address;

+   address = talloc_array(mem_ctx, const char, 8);
+
/* find domain pdc */
fp.in.hostname= r-in.domain_name;
fp.in.methods = NULL;
+   fp.out.address= address;
 
status = libnet_LookupPdc(ctx, mem_ctx, fp);
if (!NT_STATUS_IS_OK(status)) return status;



Build status as of Sun Nov 13 00:00:02 2005

2005-11-12 Thread build
URL: http://build.samba.org/

--- /home/build/master/cache/broken_results.txt.old 2005-11-12 
00:00:12.0 +
+++ /home/build/master/cache/broken_results.txt 2005-11-13 00:00:10.0 
+
@@ -1,17 +1,17 @@
-Build status as of Sat Nov 12 00:00:01 2005
+Build status as of Sun Nov 13 00:00:02 2005
 
 Build counts:
 Tree Total  Broken Panic 
 ccache   10 2  0 
-distcc   11 2  0 
-lorikeet-heimdal 16 15 0 
-ppp  16 0  0 
+distcc   12 2  0 
+lorikeet-heimdal 15 15 0 
+ppp  15 0  0 
 rsync35 2  0 
 samba4  0  0 
 samba-docs   0  0  0 
-samba4   36 21 0 
-samba_3_035 6  0 
-smb-build26 4  0 
-talloc   12 5  0 
-tdb  35 2  0 
+samba4   35 21 0 
+samba_3_034 6  0 
+smb-build26 5  0 
+talloc   11 6  0 
+tdb  12 3  0