[Samba] Mapping shares as different user

2004-03-12 Thread Karel Kulhavý
Hello I have domain KEVF_D4 run by samba and KEVF_D1 run by NT4. There is a mutual trust between these domains. When I log on into KEVF_D1 as KEVF_D1 user and try to map a share from KEVF_D4 it asks me for a username and password. I supply a username in form "kevf_d4\username" and password for th

Re: [Samba] Groups not listed in USERMGR.EXE

2004-03-11 Thread Karel Kulhavý
On Fri, Mar 12, 2004 at 12:16:24AM +0100, Erik Hoitinga wrote: > Dear list, > > I'm using samba 3.0.2a on a RedHat Linux server. Samba is configured as > being a PDC. When I use > the usermanager from SRVTOOLS.EXE on my W2K workstation I don't see any > groups listed in the window > below the user

Re: [Samba] 2 NT groups mapping into 1 UNIX group

2004-03-10 Thread Karel Kulhavý
On Wed, Mar 10, 2004 at 10:17:33PM +1100, Andrew Bartlett wrote: > On Tue, 2004-03-09 at 02:32, Karel Kulhavy wrote: > > Hello > > > > Is it correct to map two NT groups into one UNIX group? For example > > Domain Users -> users > > Kosmos Users -> users > > This must be a one-to-one mapping, so

[Samba] Samba manpages

2004-02-16 Thread Karel Kulhavý
Hello I discovered one can get Samba manpages either by "make install" from samba sources (samba-3.0.2/sources: make install) or by downloading for example samba-20040215.tar.bz and manually copying the contents of manpages/ subdirectory into /usr/local/samba/man. Are both these sources of manpag

[Samba] Samba bugzilla search terms not functional

2004-02-13 Thread Karel Kulhavý
Hello I tried to search for a term "deadlink" in Samba bugzilla system at https://bugzilla.samba.org/ "Entere a bug# or some search terms" I consider the word "deadlink" to be a search term. Also the [Help] states that "Bugzilla QuickSearch. Type in one or more words (or word fragments) to search

[Samba] samba-docs mailing list

2004-02-13 Thread Karel Kulhavý
Hello How do I subscribe to samba-docs mailing list? The list is listed at http://samba.kn.vutbr.cz/samba/archives.html however it is not listed on the subscription page at http://lists.samba.org/mailman/ judging by grepping 'samba-docs' in the page and finding nothing. Cl< -- To unsubscribe fro

[Samba] Deadlink on Samba website

2004-02-13 Thread Karel Kulhavý
There is something that looks like a deadlink on Samba website. http://samba.kn.vutbr.cz/samba/archives.html contains http://lists.samba.org/pipermail/samba-docs/";>docs which is an empty page. I wanted to examine the contents of docs mainling list. Is the docs mailing list working? Is there any

[Samba] net rpc trustdom usage suggestion

2004-02-13 Thread Karel Kulhavý
Hello net 3.0.2 prints out it's usage: bash-2.05b$ net rpc trustdom net rpc trustdom add add trusting domain's account net rpc trustdom del delete trusting domain's account net rpc trustdom establish establish relationship to trusted domain net rpc trustdom revoke

[Samba] net rpc trustdom add

2004-02-13 Thread Karel Kulhavý
Hello I would like to ask what is the syntax of net rpc trustdom add. http://samba.kn.vutbr.cz/samba/docs/man/net.8.html: "[NET] RPC TRUSTDOM ADD DOMAIN" However: bash-2.05b$ net rpc trustdom add KEVF_D1 Password: Usage: net rpc trustdom add 1) It seems there is a pretty havoc in the issue. 2)

[Samba] Samba as the Trusted Domain

2004-02-13 Thread Karel Kulhavý
I have samba-3.0.2 with tdbsam (I don't remember why I moved on to tdbsam from smbpasswd but something in the past must have required it). When trying to add trusting domain according to Samba HOWTO Collection, page "clxxxvii" (why the heck the pages have such strange Roman hashes instead of numbe

[Samba] Error was NT_STATUS_OK

2004-02-12 Thread Karel Kulhavý
I have discovered what I have done wrong: sitting on KEVF_D4 Samba 3.0.2 PDC instead of net rpc trustdom establish KEVF_D1 I issued net rpc trustdom establish KEVF_D4. However I still wonder why I didn't get more meaningful message (something like: you are trying to make a loopback interdomain tru

[Samba] More to pdbedit -L segfault

2004-02-12 Thread Karel Kulhavý
I have determined that the segfault can be reproduced by: 1) Fresh installation of samba-3.0.2 2) Copying the "bad" private/passdb.tdb into /usr/local/samba/private/passdb.tdb However I can't post the passdb.tdb that causes this because I think it contains sensitive information. However tdbdump du

[Samba] Error was NT_STATUS_OK

2004-02-12 Thread Karel Kulhavý
Hello samba-3.0.2 just after starting a brand new installation of samba-3.0.2 I issued the command net rpc trustdom establish KEVF_D1 and entered a correct password. What I got was: Password: [2004/02/12 14:35:56, 0] utils/net_rpc.c:rpc_trustdom_establish(1986) Couldn't verify trusting domain a

[Samba] More to pdbedit -L segfault

2004-02-12 Thread Karel Kulhavý
I tried to invoke the state of /usr/local/samba tree that causes pdbedit -L to segfault however I failed. What I tried (reload = reloading smbd and nmbd daemons): 3.0.2 make install reload pdbedit -L 3.0.1rc2 make install reload pdbedit -L 3.0.0 make install pdbedit -L reload pdbedit -L Cl< -- T

[Samba] More to pdbedit -L segfault

2004-02-12 Thread Karel Kulhavý
I have deleted the whole samba tree (rm -r /usr/local/samba) and reinstalled samba-3.0.2 with '-g' compiler flag switched on with make install and now pdbedit -L works. Fortunately I have saved the old tree (/usr/local/samba) so that it can still be ussed as assistance if anyone would be intereste

[Samba] More to pdbedit -L segfault

2004-02-12 Thread Karel Kulhavý
I have recompiled pdbedit 3.0.2 with -g flag to be able to list sources from gdb when debugging pdbedit and discovered some more info but don't know how to interpret it: (gdb) frame 1 #1 0x0806c899 in init_sam_from_buffer (sampass=0x81b8c28, buf=0x81b8d78 "", buflen=208) at passdb/passdb.c:1

[Samba] pdbedit 3.0.2 segfault

2004-02-12 Thread Karel Kulhavý
Hello I have samba-3.0.2 installed into /usr/local/samba/ by means of cd /usr/src/samba-3.0.2/source ./configure --with-acl-support make make install When I run pdbedit -L I get a segfault: oberon root # pdbedit -L Segmentation fault (core dumped) This occurs after samba of unknown version from

[Samba] What must be removed during samba reinstall

2004-02-12 Thread Karel Kulhavý
Hello If I reinstall samba from version A to version B, what all files must be removed to maintain correctness of the whole system? Let's assume the reinstall is done in this way: cd /usr/src/samba-3.0.2/source ./configure make make install Is the answer to this question dependent on the pair of

[Samba] Access rights for users from trusted domains

2004-02-12 Thread Karel Kulhavý
Hello I have a Samba 3.0.2 domain D4 that trusts NT4 domain D1 I tried to change access permissions of a file on Samba's share from a windows machine that is part of D4 for a user from D1. The dialog showed me D1, I could select an user from D1 and I had been allowed to complete the dialog. Howe

[Samba] adding users from trusted domains into groups

2004-02-11 Thread Karel Kulhavý
Hello I have domain KEVF_D4 run by samba PDC that trusts domain KEVF_D1 run by NT4 PDC. The trust is running judging according to at least 3 independent signs it is really working. However when I fire up usrmgrx.exe on a computer that is in KEVF_D4 (and is different from the PDC because PDC is Li

[Samba] Bad signature in samba sources?

2004-02-10 Thread Karel Kulhavý
Hello What should I do in this case? It seems the signature of Samba sources is bad. I tried downloading from CZ and FI mirrors and both had the same problem. I got this key by bash-2.05b$ gpg --keyserver wwwkeys.pgp.net --recv-keys 2F87AF6F gpgkeys: WARNING: this is an *experimental* HKP inter

[Samba] make install: what all databases must be deleted

2003-12-12 Thread Karel Kulhavý
Hello When copying over one version of Samba 3.* with another, what all databases must be deleted and built again to prevent corruption of them? Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] USRMGR.EXE now adds users :)

2003-12-12 Thread Karel Kulhavý
Was it my fault, of course. passwd program = /bin/passwd was wrong. Right is passwd program = /bin/passwd "%u" Passwd chat: passwd chat = *ew*password* %n\n *ew*password* %n\n I can add users, add groups, delete users, delete groups,... :) My backend is tdbsam. How did I find it? Was reading th

Re: [Samba] Re: USRMGR.EXE won't add user

2003-12-12 Thread Karel Kulhavý
> > long stupid passwd). The user wasn't in the database. Then clicked OK. > Never > > managed to add user this way. > > > > CVS head 2003-12-10: "Access is denied" > > 3.0.1rc1:"Access is denied" > > 3.0.1rc2:"Access is denied" > > 3.0.0: "Access is denied" >

Re: [Samba] USRMGR.EXE won't add user

2003-12-12 Thread Karel Kulhavý
> > _ > > / > > | /usr/local/samba/bin/mygroupadd > > \_ > > / > > | #!/bin/bash > > | > > | # Add the group using normal system groupadd

[Samba] USRMGR.EXE won't add user

2003-12-11 Thread Karel Kulhavý
Hello Tried to add user in user manager from domains, NT4.0 client, logged in as root on the NT client. Clicked "New User", filled in nick, description, full name, password1, password2 (was dead sure they were the same, carefully typed 9-chars long stupid passwd). The user wasn't in the database

Re: [Samba] USRMGR.EXE

2003-12-09 Thread Karel Kulhavý
Thanks, > server schannel = Yes ^ This is the key. After setting this (on samba-3.0.1pre3), usrmgr.exe started to partially work. samba-3.0.1pre3 usrmgr.exe: Works: Browsing users properties Change of user's description Browsing groups Seems to work: Moving

[Samba] USRMGR.EXE

2003-12-05 Thread Karel Kulhavý
Hello Is here anybody who is able to manage his NT4.0 domain on hid Samba 3 PDC with User Manager for Domains? Can you please tell me what things must be checked to be sure USRMGR.EXE administration (User Manager for Domains aka Domain User Manager) works? I am unable to make it working and trie

Re: [Samba] 3.0.1pre3 -> 3.0.1rc1: doesn't want to connect to itself

2003-12-05 Thread Karel Kulhavý
On Fri, Dec 05, 2003 at 08:27:46AM -0600, Gerald (Jerry) Carter wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Karel Kulhavý wrote: > | Hello > | > | With smb.conf below, samba 3.0.1pre3 is capable of connecting to itself > | by smbclient -L oberon .

[Samba] 3.0.1pre3 -> 3.0.1rc1: doesn't want to connect to itself

2003-12-05 Thread Karel Kulhavý
Hello With smb.conf below, samba 3.0.1pre3 is capable of connecting to itself by smbclient -L oberon . Also domain logons work. With 3.0.1rc1 it just writes bash-2.05b# smbclient -L oberon Password: tree connect failed: Call returned zero bytes (EOF) bash-2.05b# smbclient --version Version 3.0.1

[Samba] Where is lmhosts?

2003-12-04 Thread Karel Kulhavý
Hello Someone who has working lmhosts please tell me where it is (i.e., the path). I RTFMd man lmhosts and: 1) man hosts tells: SYNOPSIS: /etc/hosts. 2) man lmhosts doesn't tell anything about the path. 3) man lmhosts: "It is very similar to the /etc/hosts file format" - does it mean that the simi

[Samba] USRMGR.EXE administration: invalid syntax error message

2003-11-28 Thread Karel Kulhavý
I try to admin Samba 3.0.0 and 3.0.1pre3 (tried both versions) NT4.0 PDC with NT4.0 machine and NT4.0 USRMGR.EXE and get persistent error message 1) The group name could not be found 2) The user name could not be found 3) The filename, directory name, or volume label syntax is incorrect. Loggin i

[Samba] swat manpage -h opt bugreport 3.0.0

2003-11-14 Thread Karel Kulhavý
swat 3.0.0 manpage says: "-h | --help" swat --help prints help message. -h does not. Regards, Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] doc bugreport 3.0.0. install.html

2003-11-14 Thread Karel Kulhavý
samba-3.0.0/docs/htmldocs/install.html reads: "More information about SWAT can be found in ." I think there is missing where it can be found. Regards, Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] 3.0.0 doc obsolete content

2003-11-14 Thread Karel Kulhavý
samba-3.0.0/docs/htmldocs/compiling.html reads: "gzip -d samba-2.2.8a.tar.gz gpg --verify samba-2.2.8a.tar.asc" It seems to be outdated. Suggested patch: "gzip -d samba-3.0.0.tar.gz gpg --verify samba-3.0.0.tar.asc" Regards, Cl< -- To unsubscribe from this list go to the following URL and read

[Samba] doc bugreport compiling.html samba 3.0.0

2003-11-14 Thread Karel Kulhavý
samba-3.0.0/docs/htmldocs/compiling.html reads: "wget http://us1.samba.org/samba/ftp/samba-2.2.8a.tar.asc"; --14:58:11-- http://us1.samba.org/samba/ftp/samba-2.2.8a.tar.asc => `samba-2.2.8a.tar.asc' Resolving us1.samba.org... done. Connecting to us1.samba.org[216.251.47.16]:80... con

[Samba] doc bugreport 3.0.0 install.html

2003-11-14 Thread Karel Kulhavý
samba-3.0.0/docs/htmldocs/install.html reads: "If you need to compile Samba from source, check ." It seems to be a human language parse error - missing subject in a sentence. Regards, Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.or

[Samba] man swat 2.2.8a patch

2003-11-14 Thread Karel Kulhavý
replace all occurences of "xientd" by "xinetd" Cl< -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba

[Samba] swat documentation - password

2003-11-14 Thread Karel Kulhavý
Hello Suggested patch to man swat 2.2.8a: there is a guide how to install swat. When I ran browser to http://localhost:901, it wanted a login and pasword. I wasn't able to determine from man swat what I should enter. Please add this information to the manpage. Cl< -- To unsubscribe from this li