search for: global_myname

Displaying 20 results from an estimated 129 matches for "global_myname".

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
2003 Jan 12
1
Compiling python_ext ?
Using samba-2.999+3.0.alpha21 (debian unstable source package), I can't get the python modules to compile correctly. The problem seems to be that py_common.c and py_smb.c declare global_myname as an extern pstring, while it is defined in include/proto.h as const char *global_myname(void). Changing the definition in the two files allows it to compile, but "from samba import smb" then causes a segfault. Any ideas what could be causing this problem? I can retry with cvs if necess...
2000 Jan 28
1
PATCH: 'source environment' param and % token subs for 'netbios name'
...Samba 2.0.7 This patch does two things: - Modifies the handling of the 'netbios name' parameter so that standard_sub_basic() is run on its value when the 'netbios name' parameter is processed. This has to be done this way because the netbios name is accessed via the global_myname variable throughout Samba and not via lp_netbios_name(). - Adds a new parameter called 'source environment' which takes a path or a pipe command whose last character is '|' and does just what you would expect: calls putenv() on each line read from the given file/pipe....
2001 Oct 04
5
msdfs
Hello, Last week I submitted a problem with msdfs on samba. I didn't receive any reaction. I've also tried the samba-cvs version but this has also problems. We really like to use msdfs from samba, because we want to put all our homedirectories ( more than 4000 ) in one dfsroot. This is not possible with Microsoft's dfs because this has a limit of 1000 .... I didn't found this
1999 Sep 21
0
[patch] fixing scope id problems
...sswd.diff # echo x - loadparm.diff sed 's/^X//' >loadparm.diff << 'END-of-loadparm.diff' X--- loadparm.c.orig Wed Jul 21 08:25:12 1999 X+++ loadparm.c Tue Sep 21 00:07:04 1999 X@@ -71,6 +71,7 @@ X extern int DEBUGLEVEL; X extern pstring user_socket_options; X extern pstring global_myname; X+extern pstring scope; X X #ifndef GLOBAL_NAME X #define GLOBAL_NAME "global" X@@ -532,6 +533,7 @@ X {"directory", P_STRING, P_LOCAL, &sDefault.szPath, NULL, NULL, 0}, X {"workgroup", P_USTRING, P_GLOBAL, &Globals.szWorkGroup...
2000 Jan 30
0
More checks for param/loadparm.c
...e,char **ptr); > static BOOL handle_netbios_aliases(char *pszParmValue,char **ptr); > static BOOL handle_password_server(char *pszParmValue, char **parm_ptr); > static BOOL validate_netbios_name(char *pszParmValue); 542,543c546,547 < {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, NULL, netbios_name, FLAG_BASIC|FLAG_DOS_STRING}, < {"netbios aliases", P_STRING, P_GLOBAL, &Globals.szNetbiosAliases, NULL, NULL, FLAG_DOS_STRING}, --- > {"netbios name", P_UGSTRING,P_GLOBAL, global_myname, handle_netbios_nam...
2000 Jan 26
2
[2.0.6] doesn't run under Solaris 7/sparc, Internal Error
Is the following a known problem: =============================================================== [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(41) INTERNAL ERROR: Signal 11 in pid 22273 (2.0.6) Please read the file BUGS.txt in the distribution [2000/01/26 09:41:03, 0] lib/fault.c:fault_report(43) =============================================================== This is using the same
2006 Aug 13
1
Building 23b
...e/rpctorture.c:539: warning: passing argument 5 of 'create_procs' from incompatible pointer type make: *** [torture/rpctorture.o] Error 1 That comes after quite few previous lines about rpctorture. Full torture output: Compiling torture/rpctorture.c torture/rpctorture.c:27: error: 'global_myname' redeclared as different kind of symbol include/proto.h:1122: error: previous declaration of 'global_myname' was here torture/rpctorture.c:57: warning: 'struct client_info' declared inside parameter list torture/rpctorture.c:57: warning: its scope is only this definition or decl...
2005 Jan 19
1
cannot bind when doing a browser sync
...B as a local master browser. This works fine, until they try to sync the browse list. They register with each other correctly because nmbd/nmbd_sendannounce.c's browse_sync_remote is binding to the LAN address: send_mailslot(True, BROWSE_MAILSLOT, outbuf,PTR_DIFF(p,outbuf), global_myname(), 0x0, "*", 0x0, addr, FIRST_SUBNET->myip, DGRAM_PORT); So I have "remote browse sync" set to the other hosts's LAN address, because the source address must local host's LAN address (FIRST_SUBNET->myip). I've verified that each host sees the other's...
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?
2007 Feb 12
3
Autogenerating of operatingSystem and operatingSystemVersion attributes in AD
...*****************************/ + +static ADS_STATUS net_set_machine_opsystem(TALLOC_CTX *ctx, ADS_STRUCT *ads_s ) +{ + ADS_STATUS status = ADS_ERROR(LDAP_SERVER_DOWN); + char *new_dn; + ADS_MODLIST mods; + char *psp; + LDAPMessage *res = NULL; + char *dn_string = NULL; + const char *machine_name = global_myname(); + int count; + + if ( !machine_name ) { + return ADS_ERROR(LDAP_NO_MEMORY); + } + + /* Find our DN */ + + status = ads_find_machine_acct(ads_s, (void **)(void *)&res, machine_name); + if (!ADS_ERR_OK(status)) + return status; + + if ( (count = ads_count_replies(ads_s, res)) != 1 ) { + DEB...
2002 Jun 09
2
"password server" not working: 2.2.4
...smbpasswd: smbpasswd -D 4 fred Initialising global parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" Processing section "[global]" doing parameter workgroup = XANOPTIX doing parameter netbios name = freedom handle_netbios_name: set global_myname to: FREEDOM doing parameter server string = Samba Server doing parameter password server = polaris <-- PDC -is- listed... doing parameter encrypt passwords = true doing parameter security = DOMAIN doing parameter log file = /usr/local/samba/var/log.%m doing parameter max log size = 50 doin...
2003 Mar 05
2
Samba-3.0alpha22 available on samba.org mirrors
...Added Parameters * client NTLMv2 auth * client lanman auth * client signing * client use spnego * max reported print jobs * msdfs proxy See cvs log for SAMBA_3_0 for complete details. There are many smaller numerous changes that would clutter the release notes. 1) remove the global_myname string and replace with wrapper function global_myname() 2) create vfs/ and pdb/ subdirectories for library installs 3) Fixup of ordered cleanup of get_dc_list() 4) Added more autoconf tests for Stratus VOS 5) Fixed nasty bug where file writes with start offsets in the range 0x80000000...
2004 Oct 19
2
Samba and Active Directory
...file "/etc/samba/smb.conf" Processing section "[global]" doing parameter local master = no doing parameter realm = MY.BIG.DOMAIN.LOC doing parameter password server = 10.109.40.128 doing parameter workgroup = MYDOMAIN doing parameter netbios name = FS01 handle_netbios_name: set global_myname to: FS01 doing parameter encrypt passwords = yes doing parameter security = ads doing parameter log file = /var/log/samba.log doing parameter server string = "" doing parameter winbind separator = + doing parameter winbind uid = 10000-20000 doing parameter winbind gid = 10000-20000 doing...
2003 Jun 04
0
samba 3.0 alpha 24 with LDAP question
...al/samba/lib/smb.conf" [2003/06/04 01:11:07, 3] param/loadparm.c:do_section(3397) Processing section "[global]" doing parameter workgroup = MEANSPC doing parameter netbios name = BAST [2003/06/04 01:11:07, 4] param/loadparm.c:handle_netbios_name(2669) handle_netbios_name: set global_myname to: BAST doing parameter server string = Authentication Server doing parameter encrypt passwords = Yes doing parameter update encrypted = Yes doing parameter restrict anonymous = Yes doing parameter time server = Yes doing parameter socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=...
2007 Sep 10
3
Winbind Join AD 2003 failled, why ?
.../etc/samba/smb.conf" [2007/09/10 21:09:30, 3] param/loadparm.c:do_section(3687) Processing section "[global]" doing parameter workgroup = SOCIETY doing parameter netbios name = Ophelys [2007/09/10 21:09:30, 4] param/loadparm.c:handle_netbios_name(3045) handle_netbios_name: set global_myname to: LINUXSRV doing parameter server string = LinuxSrv Proxy Server doing parameter log file = /var/log/samba/log.%m doing parameter max log size = 500 doing parameter log level = 10 doing parameter map to guest = bad user doing parameter security = ads doing parameter realm = INTRANET...
2002 Aug 01
0
smbpasswd problem - Please help!
...ocess() - Processing configuration file > "/usr/local/samba/lib/smb.conf" > Processing section "[global]" > doing parameter workgroup = SIMPSONS > doing parameter server string = Scratchy Test > doing parameter netbios name = scratchy > handle_netbios_name: set global_myname to: SCRATCHY > doing parameter printcap name = /etc/printcap > doing parameter printing = lprng > doing parameter log file = /var/log/samba/%m.log > doing parameter max log size = 0 > doing parameter security = domain > doing parameter password server = * > doing parameter encr...
2002 Sep 08
1
%L substitution...
...: case 'L' : if (*local_machine) string_sub(p,"%L", local_machine,l); else { char *ns = p; string_sub(p,"%L", global_myname,l); while (*ns) { if (isupper(*ns)) *ns = tolower(*ns); ns++; }...
2002 Oct 07
0
smbpasswd resolve problem
...-r EARTH -UAdministrator%Password -D 5 Initialising global parameters params.c:pm_process() - Processing configuration file "/usr/pkg/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = DPSCA doing parameter netbios name = VENUS handle_netbios_name: set global_myname to: VENUS doing parameter server string = NetBSD - Samba %v doing parameter encrypt passwords = Yes doing parameter log file = /var/log/log.%m doing parameter max log size = 50 doing parameter domain admin group = @DomainAdmins doing parameter add user script = /usr/sbin/useradd -g DomainUsers -s /...
2003 Dec 01
0
No subject
...still having the same problem. :( Initialising global parameters params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/smb.conf" Processing section "[global]" doing parameter workgroup = SAMBA doing parameter netbios name = ELBIE handle_netbios_name: set global_myname to: ELBIE doing parameter server string = Christopher Calzonetti doing parameter security = SHARE doing parameter encrypt passwords = Yes doing parameter username map = nobody = img doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter os level = 0 doing paramet...