Displaying 18 results from an estimated 18 matches for "lp_workgroup".
2018 Oct 12
2
backup of tdb files
...word and hostname?
> > Sounds promising. I’ll look into that.
Right now I am using values obtained as follows:
- hostname: get_global_sam_name()
- local SID:
secrets_fetch_domain_sid (get_global_sam_name(), …)
== SECRETS/SID/CLIENTNAME in tdb
- domain SID:
secrets_fetch_domain_sid (lp_workgroup(), …)
== SECRETS/SID/WORKGROUPNAME
- domain member password:
secrets_fetch_machine_password(lp_workgroup(), …)
== SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
This approach works well with a manually joined AD member but not
with any of the blackbox testsuites. In the secrets.tdb used
during t...
2009 Jan 29
1
Problem compiling 3.3.0?
On RH 5.2, and I've previously compiled and installed 3.0.28a on this
box. configure ran clean, but make fails with:-
Compiling smbd/server.c
Linking bin/smbd
smbd/server.o: In function `housekeeping_fn':
server.c:(.text+0x21e): undefined reference to
`attempt_machine_password_change'
collect2: ld returned 1 exit status
make: *** [bin/smbd] Error 1
Anyone else encountered this?
1998 Jul 22
0
BUG-with-fix: smbclient ignores WORKGROUP= in smb.conf
I recently upgraded to 18p8 from 16p11 and found that smbclient now needed
a -W in order to connect properly to our domain (which was not the name
supplied with the -DWORKGROUP= from the make).
Turns out that clientutil.c always uses the value specified by the
WORKGROUP macro and never calls lp_workgroup() to get the value specified
in the smb.conf file, unless WORKGROUP is "". Apparently lp_workgroup()
already processes the default value, so no default processing is needed in
client.c.
Context diffs for a fix to client.c and clientutil.c:
Index: client.c
==============================...
2018 Oct 15
2
backup of tdb files
...values obtained as follows:
> >
> > - hostname: get_global_sam_name()
> >
> > - local SID:
> > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > == SECRETS/SID/CLIENTNAME in tdb
> >
> > - domain SID:
> > secrets_fetch_domain_sid (lp_workgroup(), …)
> > == SECRETS/SID/WORKGROUPNAME
> >
> > - domain member password:
> > secrets_fetch_machine_password(lp_workgroup(), …)
> > == SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
> >
> > This approach works well with a manually joined AD member but not...
2018 Oct 12
0
backup of tdb files
...k into that.
>
> Right now I am using values obtained as follows:
>
> - hostname: get_global_sam_name()
>
> - local SID:
> secrets_fetch_domain_sid (get_global_sam_name(), …)
> == SECRETS/SID/CLIENTNAME in tdb
>
> - domain SID:
> secrets_fetch_domain_sid (lp_workgroup(), …)
> == SECRETS/SID/WORKGROUPNAME
>
> - domain member password:
> secrets_fetch_machine_password(lp_workgroup(), …)
> == SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
>
> This approach works well with a manually joined AD member but not
> with any of the blackbox test...
2018 Oct 15
0
backup of tdb files
...gt; > > - hostname: get_global_sam_name()
> > >
> > > - local SID:
> > > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > > == SECRETS/SID/CLIENTNAME in tdb
> > >
> > > - domain SID:
> > > secrets_fetch_domain_sid (lp_workgroup(), …)
> > > == SECRETS/SID/WORKGROUPNAME
> > >
> > > - domain member password:
> > > secrets_fetch_machine_password(lp_workgroup(), …)
> > > == SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
> > >
> > > This approach works well with...
2018 Oct 18
1
backup of tdb files
...l_sam_name()
> > > >
> > > > - local SID:
> > > > secrets_fetch_domain_sid (get_global_sam_name(), …)
> > > > == SECRETS/SID/CLIENTNAME in tdb
> > > >
> > > > - domain SID:
> > > > secrets_fetch_domain_sid (lp_workgroup(), …)
> > > > == SECRETS/SID/WORKGROUPNAME
> > > >
> > > > - domain member password:
> > > > secrets_fetch_machine_password(lp_workgroup(), …)
> > > > == SECRETS/MACHINE_DOMAIN_INFO/WORKGROUPNAME
> > > >
> > >...
2018 Sep 24
2
backup of tdb files
Hi Andrew,
thanks for addressing all my points. This is rather helpful.
-<| Quoting Andrew Bartlett <abartlet at samba.org>, on Friday, 2018-09-21 08:23:26 AM |>-
> On Fri, 2018-09-21 at 11:29 +0200, Philipp Gesang via samba wrote:
> > how would I go about dumping tdb files in a “neutral” format,
> > preferably JSON?
> >
> > The goal is to have a domain
2007 Nov 16
1
3.0.27a out monday.
Just spoke to Jerry, we'll be doing
a 3.0.27a on Monday to fix a regression
that broke smbfs mounts from Linux.
Sorry for the problem.
Jeremy.
2003 Oct 26
0
Patches for samba 3.0.0 client/client.c
...else but port 139...
cli_shutdown(cli);
port = 139;
cli = do_connect(query_host, "IPC$");
}
-
+ if (cli == NULL) {
d_printf("NetBIOS over TCP disabled -- no workgroup available\n");
return 1;
}
+ */
list_servers(lp_workgroup());
@@ -2721,8 +2736,9 @@
zero_ip(&ip);
if (have_ip) ip = dest_ip;
-
- if (!(cli=cli_initialise(NULL)) || (cli_set_port(cli, port) !=
port) ||
+ + if (!(cli=cli_initialise(NULL)) || !(cli->timeout =
connect_timeout) ||
+ (cli_set_port(cli, port) != port) ||...
2000 Feb 18
0
Different Domain Login.
...hat needs to be changed,
thanks!
WAYBELOW is my origional post to samba-ntdom@samba.org
FOLLOWING ARE MY DIFFS:
-- smbd/reply.c --
# diff smbd/reply.c.orig smbd/reply.c
787a788,794
> /* Added by Ryan Wyler (ryan@nhorizon.net) */
> if(*lp_defaultauthdomain) {
> if(strequal(lp_workgroup(), domain)) {
> fstrcpy(domain,lp_defaultauthdomain());
> }
> }
>
-- param/loadparm.c --
# diff param/loadparm.c.orig param/loadparm.c
122a123
> char *szDefaultAuthDomain;
540a542
> {"default authentication domain", P_USTRING, P_GLOBAL, &Glob...
2000 Feb 18
0
Different Domain Login. UPDATED
...hat needs to be changed,
thanks!
WAYBELOW is my origional post to samba-ntdom@samba.org
FOLLOWING ARE MY DIFFS:
-- smbd/reply.c --
# diff smbd/reply.c.orig smbd/reply.c
787a788,794
> /* Added by Ryan Wyler (ryan@nhorizon.net) */
> if(*lp_defaultauthdomain) {
> if(strequal(lp_workgroup(), domain)) {
> fstrcpy(domain,lp_defaultauthdomain());
> }
> }
>
-- param/loadparm.c --
# diff param/loadparm.c.orig param/loadparm.c
122a123
> char *szDefaultAuthDomain;
540a542
> {"default authentication domain", P_USTRING, P_GLOBAL, &Glob...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...\\%s
failed\n",
name_domain, name_user));
return WINBINDD_ERROR;
}
memcpy( &state->response.data.pw, pw,
sizeof(WINBINDD_PW) );
return WINBINDD_OK;
}
/* should we deal with users for our domain? */
if ( lp_winbind_trusted_domains_only() &&
strequal(name_domain, lp_workgroup())) {
DEBUG(7,("winbindd_getpwnam: My domain -- rejecting
getpwnam() for %s\\%s.\n",
name_domain, name_user));
return WINBINDD_ERROR;
}
if ((domain = find_domain_from_name(name_domain)) ==
NULL) {
DEBUG(5, ("no such domain: %s\n", name_domain));
return WINBINDD_ERR...
2002 Aug 30
4
Enhancement of wbinfo in samba2.2.6pre2
Hi,
Most of the samba-commands takes a option for smb.conf file
exept for wbinfo.
It should be nice to have that functionallity in wbinfo also.
/Patrik
--
"In a world without fences who needs Gates"
Patrik Gustavsson, Senior Technical Consultant
patrik.gustavsson@sun.com Telephone: +46 60 671540
http://glen.sweden Mobile: +46 70 3551040
SUN MICROSYSTEMS
2006 Jul 13
2
Kerberos Keytab Code Update in 3.0.23
First thing - I'd like to say a big "THANK YOU" to the developers.
I just upgraded to samba-3.0.23 and I've noticed an alarming issue with
respect to my configuration.
I've been using the built-in keytab management and it looks like the updated
code no longer creates the userPrincipal in Active Directory.
Whether this is an issue for others or not, it would be nice to have
2002 Sep 26
0
Samba-3.0alpha20 released
...skew handling to our kerberos code
- correct race condition in password change code for out machine account
when a member of a domain
- First implementation for 'net rpc vampire'
- store current handle's Device Mode with print job
- Move functionality to check whether entries for lp_workgroup() and
"BUILTIN" exist and add them if necessary from
check_correct_backend_entries into sam_context_check_default_backends
- allow --with-krb5 to override the location of the kerberos libs on
redhat
- unlink spool file after submitting print job when using CUPS api
- Add fram...
2023 Oct 14
3
Compiling within Samba Source-Tree
...now how.
There's another problem: My daemon does some sort of initilization
which I copied from smbpasswd.c
In short this initialization looks like:
configfile=get_dyn_CONFIGFILE();
lp_load_global(configfile);
secrets_init();
initialize_password_db(False, NULL);
get_global_sam_sid();
domain=lp_workgroup();
After this initialization the daemon accepts connections and
calls local_change_password()
Works very well but initialize_password_db() produces the
following warning:
no talloc stackframe at
../../source3/passdb/machine_account_secrets.c:60, leaking memory
So here's my second question:...
2003 Dec 01
0
No subject
...bad" then an NT_STATUS_INTERNAL_ERROR
Here's where i've tracked the problem in the code:
in winbindd_misc.c:
The following function:
enum winbindd_result winbindd_check_machine_acct(
struct winbindd_cli_state *state)
{
//lines left out to save space
if (!_get_trust_account_password(lp_workgroup(), trust_passwd, NULL)) {
result = NT_STATUS_INTERNAL_ERROR;
goto done;
}
_get_trust_account_password fails because of this line in that function:
if (!(pass = secrets_fetch(trust_keystr(dos_domain), &size)) ||
size != sizeof(*pass)) return False;
(I believe it's secrets_fetch...